<!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">SHIMODA 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">2012-08-13 18:58:12 +0900 (Mon, 13 Aug 2012)</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/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01">5b23b6e0efecda7d5aee66eac58a760604d02c01</a></dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Log</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">Fix minor bugs around gcs-configure-fields</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/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#diff-0">bin/gcs-configure-fields</a></li>
          <li><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#diff-1">lib/database/index-field.js</a></li>
          <li><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#diff-2">test/gcs-commands.test.js</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"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">  Modified: bin/gcs-configure-fields (+8 -4)</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"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L0L36">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L0L37">37</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L0L38">38</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L0L39">39</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-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/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L0L40">40</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L0L41">41</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L0L42">42</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L0L50">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L0L51">51</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L0L52">52</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L0L53">53</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L0L54">54</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/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L0L55">55</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L0L56">56</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L0L57">57</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L0L58">58</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L0L59">59</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/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L0L60">60</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L0L61">61</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/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L0L62">62</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L0L63">63</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L0L64">64</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L0L65">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L0L66">66</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L0L67">67</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L0L68">68</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L0L69">69</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/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L0L70">70</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L0L71">71</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L0L72">72</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"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L0R36">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L0R37">37</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L0R38">38</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L0R39">39</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L0R40">40</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L0R41">41</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L0R42">42</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L0R43">43</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L0R44">44</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L0R45">45</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L0R46">46</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L0R54">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L0R55">55</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L0R56">56</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L0R57">57</a></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/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L0R58">58</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L0R59">59</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L0R60">60</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L0R61">61</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L0R62">62</a></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/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L0R63">63</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L0R64">64</a></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/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L0R65">65</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L0R66">66</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L0R67">67</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L0R68">68</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L0R69">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L0R70">70</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L0R71">71</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L0R72">72</a></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/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L0R73">73</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L0R74">74</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L0R75">75</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L0R76">76</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"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -37,6 +37,10 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">if (!commandLine.options.name) {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> var field = commandLine.domain.getIndexField(commandLine.options.name);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+var option = commandLine.options.option;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+if (typeof option != 'string')</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+  option = null;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (commandLine.options.delete) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   if (!field.exists()) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     console.log('You must specify an existing field.');</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -51,14 +55,14 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">if (commandLine.options.delete) {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">       return process.exit(1);</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     }</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     field.type = commandLine.options.type;</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-  } else if (!commandLine.options.option) {</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+  } else if (!option) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     console.log('You must specify the configuring option.');</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     return process.exit(1);</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-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-  if (commandLine.options.option) {</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+  if (option) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     try {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-      switch (commandLine.options.option) {</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+      switch (option) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre">         case 'search':   field.searchEnabled = true;  break;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">         case 'nosearch': field.searchEnabled = false; break;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">         case 'facet':    field.facetEnabled =  true;  break;</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -66,7 +70,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">if (commandLine.options.delete) {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">         case 'result':   field.resultEnabled = true;  break;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">         case 'noresult': field.resultEnabled = false; break;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">         default:</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-          throw new Error('invalid field option ' + commandLine.options.option);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+          throw new Error('invalid field option ' + option);</span>
<span class="diff-not-changed" style="display: block; white-space: pre">       }</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     } catch(error) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre">       console.log((error.message || error).toString());</span>
</pre>
            </td>
          </tr>
        </tbody>
      </table>
      <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"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">  Modified: lib/database/index-field.js (+3 -3)</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"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L1L155">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L1L156">156</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L1L157">157</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L1L158">158</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L1L159">159</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/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L1L160">160</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L1L161">161</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L1L162">162</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L1L180">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L1L181">181</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L1L182">182</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L1L183">183</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L1L184">184</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/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L1L185">185</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L1L186">186</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L1L187">187</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L1L205">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L1L206">206</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L1L207">207</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L1L208">208</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L1L209">209</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/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L1L210">210</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L1L211">211</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L1L212">212</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"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L1R155">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L1R156">156</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L1R157">157</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L1R158">158</a></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/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L1R159">159</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L1R160">160</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L1R161">161</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L1R162">162</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L1R180">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L1R181">181</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L1R182">182</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L1R183">183</a></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/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L1R184">184</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L1R185">185</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L1R186">186</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L1R187">187</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L1R205">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L1R206">206</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L1R207">207</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L1R208">208</a></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/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L1R209">209</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L1R210">210</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L1R211">211</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L1R212">212</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"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -156,7 +156,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">IndexField.prototype = {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">   },</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   set facetEnabled(value) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     if (this.type == 'uint')</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-      throw new Error('facet option cannot be configured for the type ' + this.type);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+      throw new Error('facet option cannot be configured for the type ' + this.type + '.');</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre">     this._facetEnabled = value;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     return value;</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -181,7 +181,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">IndexField.prototype = {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">   },</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   set resultEnabled(value) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     if (this.type == 'uint')</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-      throw new Error('returnable option cannot be configured for the type ' + this.type);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+      throw new Error('returnable option cannot be configured for the type ' + this.type + '.');</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre">     this._resultEnabled = value;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     return value;</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -206,7 +206,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">IndexField.prototype = {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">   },</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   set searchEnabled(value) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     if (this.type == 'text' || this.type == 'uint')</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-      throw new Error('searchable option cannot be configured for the type ' + this.type);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+      throw new Error('searchable option cannot be configured for the type ' + this.type + '.');</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre">     this._searchEnabled = value;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     return value;</span>
</pre>
            </td>
          </tr>
        </tbody>
      </table>
      <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"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">  Modified: test/gcs-commands.test.js (+7 -1)</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"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2L368">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2L369">369</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2L370">370</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2L371">371</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2L372">372</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/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2L373">373</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2L374">374</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2L375">375</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2L470">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2L471">471</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2L472">472</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2L473">473</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/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2L474">474</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2L475">475</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2L476">476</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2L480">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2L481">481</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2L482">482</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2L483">483</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/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2L484">484</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2L485">485</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2L486">486</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2L490">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2L491">491</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2L492">492</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2L493">493</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/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2L494">494</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2L495">495</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2L496">496</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2L500">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2L501">501</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2L502">502</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2L503">503</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/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2L504">504</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2L505">505</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2L506">506</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2L510">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2L511">511</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2L512">512</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2L513">513</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/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2L514">514</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2L515">515</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2L516">516</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2L520">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2L521">521</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2L522">522</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2L523">523</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/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2L524">524</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2L525">525</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2L526">526</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"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2R368">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2R369">369</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2R370">370</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2R371">371</a></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/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2R372">372</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2R373">373</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2R374">374</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2R375">375</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2R470">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2R471">471</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2R472">472</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2R473">473</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2R474">474</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2R475">475</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2R476">476</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2R477">477</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2R481">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2R482">482</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2R483">483</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2R484">484</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2R485">485</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2R486">486</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2R487">487</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2R488">488</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2R492">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2R493">493</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2R494">494</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2R495">495</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2R496">496</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2R497">497</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2R498">498</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2R499">499</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2R503">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2R504">504</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2R505">505</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2R506">506</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2R507">507</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2R508">508</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2R509">509</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2R510">510</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2R514">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2R515">515</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2R516">516</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2R517">517</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2R518">518</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2R519">519</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2R520">520</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2R521">521</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2R525">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2R526">526</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2R527">527</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2R528">528</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2R529">529</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2R530">530</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2R531">531</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/5b23b6e0efecda7d5aee66eac58a760604d02c01#L2R532">532</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"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -369,7 +369,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">suite('gcs-configure-fields', function() {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">         assert.deepEqual({ code:    result.code,</span>
<span class="diff-not-changed" style="display: block; white-space: pre">                            message: result.output.stdout },</span>
<span class="diff-not-changed" style="display: block; white-space: pre">                          { code:    1,</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">-                           message: 'You must specify not-existing field name.\n' },</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+                           message: 'You must specify the configuring option.\n' },</span>
<span class="diff-not-changed" style="display: block; white-space: pre">                          result.output.stderr);</span>
<span class="diff-not-changed" style="display: block; white-space: pre">         done();</span>
<span class="diff-not-changed" style="display: block; white-space: pre">       })</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -471,6 +471,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">suite('gcs-configure-fields', function() {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">     domain.getIndexField(name).setType(type).createSync();</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     utils</span>
<span class="diff-not-changed" style="display: block; white-space: pre">       .run('gcs-configure-fields',</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+           '--domain-name', 'companies',</span>
<span class="diff-not-changed" style="display: block; white-space: pre">            '--name', name,</span>
<span class="diff-not-changed" style="display: block; white-space: pre">            '--option', 'search',</span>
<span class="diff-not-changed" style="display: block; white-space: pre">            '--database-path', temporaryDatabase.path)</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -481,6 +482,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">suite('gcs-configure-fields', function() {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">           assertOptionConfigured(result, name, type, results.search);</span>
<span class="diff-not-changed" style="display: block; white-space: pre">       })</span>
<span class="diff-not-changed" style="display: block; white-space: pre">       .run('gcs-configure-fields',</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+           '--domain-name', 'companies',</span>
<span class="diff-not-changed" style="display: block; white-space: pre">            '--name', name,</span>
<span class="diff-not-changed" style="display: block; white-space: pre">            '--option', 'nosearch',</span>
<span class="diff-not-changed" style="display: block; white-space: pre">            '--database-path', temporaryDatabase.path)</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -491,6 +493,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">suite('gcs-configure-fields', function() {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">           assertOptionConfigured(result, name, type, results.nosearch);</span>
<span class="diff-not-changed" style="display: block; white-space: pre">       })</span>
<span class="diff-not-changed" style="display: block; white-space: pre">       .run('gcs-configure-fields',</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+           '--domain-name', 'companies',</span>
<span class="diff-not-changed" style="display: block; white-space: pre">            '--name', name,</span>
<span class="diff-not-changed" style="display: block; white-space: pre">            '--option', 'result',</span>
<span class="diff-not-changed" style="display: block; white-space: pre">            '--database-path', temporaryDatabase.path)</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -501,6 +504,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">suite('gcs-configure-fields', function() {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">           assertOptionConfigured(result, name, type, results.result);</span>
<span class="diff-not-changed" style="display: block; white-space: pre">       })</span>
<span class="diff-not-changed" style="display: block; white-space: pre">       .run('gcs-configure-fields',</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+           '--domain-name', 'companies',</span>
<span class="diff-not-changed" style="display: block; white-space: pre">            '--name', name,</span>
<span class="diff-not-changed" style="display: block; white-space: pre">            '--option', 'noresult',</span>
<span class="diff-not-changed" style="display: block; white-space: pre">            '--database-path', temporaryDatabase.path)</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -511,6 +515,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">suite('gcs-configure-fields', function() {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">           assertOptionConfigured(result, name, type, results.noresult);</span>
<span class="diff-not-changed" style="display: block; white-space: pre">       })</span>
<span class="diff-not-changed" style="display: block; white-space: pre">       .run('gcs-configure-fields',</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+           '--domain-name', 'companies',</span>
<span class="diff-not-changed" style="display: block; white-space: pre">            '--name', name,</span>
<span class="diff-not-changed" style="display: block; white-space: pre">            '--option', 'facet',</span>
<span class="diff-not-changed" style="display: block; white-space: pre">            '--database-path', temporaryDatabase.path)</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -521,6 +526,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">suite('gcs-configure-fields', function() {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">           assertOptionConfigured(result, name, type, results.facet);</span>
<span class="diff-not-changed" style="display: block; white-space: pre">       })</span>
<span class="diff-not-changed" style="display: block; white-space: pre">       .run('gcs-configure-fields',</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+           '--domain-name', 'companies',</span>
<span class="diff-not-changed" style="display: block; white-space: pre">            '--name', name,</span>
<span class="diff-not-changed" style="display: block; white-space: pre">            '--option', 'nofacet',</span>
<span class="diff-not-changed" style="display: block; white-space: pre">            '--database-path', temporaryDatabase.path)</span>
</pre>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </body>
</html>