<!DOCTYPE html>
<html>
  <head>
  </head>
  <body>
    <dl style="line-height: 1.5; margin-left: 2em">
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Author</dt>
      <dd style="margin-left: 8.5em">YUKI Hiroshi &lt;shimo****@clear*****&gt;</dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Date</dt>
      <dd style="margin-left: 8.5em">2014-04-28 14:03:34 +0900 (Mon, 28 Apr 2014)</dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">New Revision</dt>
      <dd style="margin-left: 8.5em"><a href="https://github.com/droonga/droonga.org/commit/6fb85b3bf020541bd0abe7564e00b2ebc84740cc">6fb85b3bf020541bd0abe7564e00b2ebc84740cc</a></dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Message</dt>
      <dd style="margin-left: 8.5em"><pre style="border: 1px solid #aaa; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; padding: 0.5em; width: auto">Write host name directly</pre></dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Modified files</dt>
      <dd style="margin-left: 8.5em">
        <ul>
          <li><a href="https://github.com/droonga/droonga.org/commit/6fb85b3bf020541bd0abe7564e00b2ebc84740cc#diff-0">tutorial/groonga/index.md</a></li>
        </ul>
      </dd>
    </dl>

    <div class="diff-section" style="clear: both">
      <table style="border-collapse: collapse; border: 1px solid #aaa">
        <thead>
          <tr class="diff-header" style="border: 1px solid #aaa">
            <td colspan="3">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">  Modified: tutorial/groonga/index.md (+4 -6)</span>
<span class="diff-header-mark" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">===================================================================</span>
</pre>
            </td>
          </tr>
        </thead>
        <tbody>
          <tr>
            <th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga.org/commit/6fb85b3bf020541bd0abe7564e00b2ebc84740cc#L0L109">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga.org/commit/6fb85b3bf020541bd0abe7564e00b2ebc84740cc#L0L110">110</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga.org/commit/6fb85b3bf020541bd0abe7564e00b2ebc84740cc#L0L111">111</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga.org/commit/6fb85b3bf020541bd0abe7564e00b2ebc84740cc#L0L112">112</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga.org/commit/6fb85b3bf020541bd0abe7564e00b2ebc84740cc#L0L113">113</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga.org/commit/6fb85b3bf020541bd0abe7564e00b2ebc84740cc#L0L114">114</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga.org/commit/6fb85b3bf020541bd0abe7564e00b2ebc84740cc#L0L115">115</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga.org/commit/6fb85b3bf020541bd0abe7564e00b2ebc84740cc#L0L116">116</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga.org/commit/6fb85b3bf020541bd0abe7564e00b2ebc84740cc#L0L117">117</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga.org/commit/6fb85b3bf020541bd0abe7564e00b2ebc84740cc#L0L118">118</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga.org/commit/6fb85b3bf020541bd0abe7564e00b2ebc84740cc#L0L119">119</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga.org/commit/6fb85b3bf020541bd0abe7564e00b2ebc84740cc#L0L120">120</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga.org/commit/6fb85b3bf020541bd0abe7564e00b2ebc84740cc#L0L121">121</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga.org/commit/6fb85b3bf020541bd0abe7564e00b2ebc84740cc#L0L124">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga.org/commit/6fb85b3bf020541bd0abe7564e00b2ebc84740cc#L0L125">125</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga.org/commit/6fb85b3bf020541bd0abe7564e00b2ebc84740cc#L0L126">126</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga.org/commit/6fb85b3bf020541bd0abe7564e00b2ebc84740cc#L0L127">127</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga.org/commit/6fb85b3bf020541bd0abe7564e00b2ebc84740cc#L0L128">128</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga.org/commit/6fb85b3bf020541bd0abe7564e00b2ebc84740cc#L0L129">129</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga.org/commit/6fb85b3bf020541bd0abe7564e00b2ebc84740cc#L0L130">130</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga.org/commit/6fb85b3bf020541bd0abe7564e00b2ebc84740cc#L0L131">131</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga.org/commit/6fb85b3bf020541bd0abe7564e00b2ebc84740cc#L0L132">132</a></span>
</pre>
            </th>
            <th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga.org/commit/6fb85b3bf020541bd0abe7564e00b2ebc84740cc#L0R109">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga.org/commit/6fb85b3bf020541bd0abe7564e00b2ebc84740cc#L0R110">110</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga.org/commit/6fb85b3bf020541bd0abe7564e00b2ebc84740cc#L0R111">111</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga.org/commit/6fb85b3bf020541bd0abe7564e00b2ebc84740cc#L0R112">112</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga.org/commit/6fb85b3bf020541bd0abe7564e00b2ebc84740cc#L0R113">113</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga.org/commit/6fb85b3bf020541bd0abe7564e00b2ebc84740cc#L0R114">114</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga.org/commit/6fb85b3bf020541bd0abe7564e00b2ebc84740cc#L0R115">115</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga.org/commit/6fb85b3bf020541bd0abe7564e00b2ebc84740cc#L0R116">116</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga.org/commit/6fb85b3bf020541bd0abe7564e00b2ebc84740cc#L0R117">117</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga.org/commit/6fb85b3bf020541bd0abe7564e00b2ebc84740cc#L0R118">118</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga.org/commit/6fb85b3bf020541bd0abe7564e00b2ebc84740cc#L0R119">119</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga.org/commit/6fb85b3bf020541bd0abe7564e00b2ebc84740cc#L0R120">120</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga.org/commit/6fb85b3bf020541bd0abe7564e00b2ebc84740cc#L0R123">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga.org/commit/6fb85b3bf020541bd0abe7564e00b2ebc84740cc#L0R124">124</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga.org/commit/6fb85b3bf020541bd0abe7564e00b2ebc84740cc#L0R125">125</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga.org/commit/6fb85b3bf020541bd0abe7564e00b2ebc84740cc#L0R126">126</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/droonga.org/commit/6fb85b3bf020541bd0abe7564e00b2ebc84740cc#L0R127">127</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga.org/commit/6fb85b3bf020541bd0abe7564e00b2ebc84740cc#L0R128">128</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga.org/commit/6fb85b3bf020541bd0abe7564e00b2ebc84740cc#L0R129">129</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/droonga.org/commit/6fb85b3bf020541bd0abe7564e00b2ebc84740cc#L0R130">130</a></span>
</pre>
            </th>
            <td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -110,12 +110,11 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">On the other hand, you have to run two servers for each Droonga node to use your</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> To start them, run commands like following on each Droonga node:</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre">     # cd ~/droonga</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-    # host=192.168.0.10</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-    # droonga-engine --host=$host &amp;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+    # droonga-engine --host=192.168.0.10 &amp;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     # cat $! &gt; droonga-engine.pid</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     # droonga-http-server --port=3000 \</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-                          --receive-host-name=$host \</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-                          --droonga-engine-host-name=$host \</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+                          --receive-host-name=192.168.0.10 \</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+                          --droonga-engine-host-name=192.168.0.10 \</span>
<span class="diff-not-changed" style="display: block; white-space: pre">                           --default-dataset=Starbucks \</span>
<span class="diff-not-changed" style="display: block; white-space: pre">                           --daemon \</span>
<span class="diff-not-changed" style="display: block; white-space: pre">                           --pid-file droonga-http-server.pid</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -125,8 +124,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">It will be used to communicate with other Droonga nodes in the cluster.</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> So you have to specify different host name on another Droonga node, like:</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre">     # cd ~/droonga</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-    # host=192.168.0.11</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-    # droonga-engine --host=$host &amp;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+    # droonga-engine --host=192.168.0.11 &amp;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     ...</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> To stop services, run commands like following on each Droonga node:</span>
</pre>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </body>
</html>