<!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 <shimo****@clear*****></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Date</dt>
<dd style="margin-left: 8.5em">2012-08-13 18:05:18 +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/e752b78fe252a7c33c607c268ebc720af5e6a9e8">e752b78fe252a7c33c607c268ebc720af5e6a9e8</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, "Liberation Mono", Courier, monospace; line-height: 1.2; padding: 0.5em">Update behaviour around index field options</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/e752b78fe252a7c33c607c268ebc720af5e6a9e8#diff-0">lib/api/2011-02-01/configuration.js</a></li>
<li><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#diff-1">test/api-configuration.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, "Liberation Mono", 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/api/2011-02-01/configuration.js (+6 -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, "Liberation Mono", 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/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L0L246">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L0L247">247</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L0L248">248</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L0L249">249</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L0L250">250</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L0L251">251</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L0L252">252</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L0L258">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L0L259">259</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L0L260">260</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L0L261">261</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/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L0L262">262</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/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L0L263">263</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L0L264">264</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/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L0L265">265</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L0L266">266</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/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L0L267">267</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L0L268">268</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L0L269">269</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L0L270">270</a></span>
</pre>
</th>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", 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/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L0R246">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L0R247">247</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L0R248">248</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L0R249">249</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/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L0R250">250</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/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L0R251">251</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/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L0R252">252</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L0R253">253</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L0R254">254</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L0R255">255</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L0R261">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L0R262">262</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L0R263">263</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L0R264">264</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </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/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L0R265">265</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L0R266">266</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </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/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L0R267">267</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L0R268">268</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </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/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L0R269">269</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L0R270">270</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L0R271">271</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L0R272">272</a></span>
</pre>
</th>
<td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", 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">@@ -247,6 +247,9 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">handlers.DefineIndexField = function(context, request, response) {</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 createdAt = new Date();</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> try {</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ if (!field.exists())</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ field.type = fieldType;</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"> var facetEnabled = getFieldOption('FacetEnabled', request, fieldType);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (facetEnabled !== undefined)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> field.facetEnabled = facetEnabled.toLowerCase() == 'true';</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -259,12 +262,11 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">handlers.DefineIndexField = function(context, request, response) {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (searchEnabled !== undefined)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> field.searchEnabled = searchEnabled.toLowerCase() == 'true';</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 (!field.exists()) {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- field.type = fieldType;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ if (!field.exists())</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> field.createSync();</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- } else {</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ else</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> field.saveOptionsSync();</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- }</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"> response.contentType('application/xml');</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> response.send(createDefineIndexFieldResponse({</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> field: field,</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, "Liberation Mono", 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/api-configuration.test.js (+5 -5)</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, "Liberation Mono", 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/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1L432">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1L433">433</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1L434">434</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1L435">435</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/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1L436">436</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1L437">437</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1L438">438</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1L439">439</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1L469">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1L470">470</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1L471">471</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1L472">472</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/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1L473">473</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1L474">474</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1L475">475</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1L476">476</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1L505">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1L506">506</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1L507">507</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1L508">508</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/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1L509">509</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1L510">510</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1L511">511</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1L512">512</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1L539">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1L540">540</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1L541">541</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1L542">542</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/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1L543">543</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1L544">544</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1L545">545</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1L546">546</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1L579">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1L580">580</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1L581">581</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1L582">582</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/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1L583">583</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1L584">584</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1L585">585</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1L586">586</a></span>
</pre>
</th>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", 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/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1R432">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1R433">433</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1R434">434</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1R435">435</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </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/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1R436">436</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1R437">437</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1R438">438</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1R439">439</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1R469">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1R470">470</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1R471">471</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1R472">472</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </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/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1R473">473</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1R474">474</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1R475">475</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1R476">476</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1R505">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1R506">506</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1R507">507</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1R508">508</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </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/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1R509">509</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1R510">510</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1R511">511</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1R512">512</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1R539">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1R540">540</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1R541">541</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1R542">542</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </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/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1R543">543</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1R544">544</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1R545">545</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1R546">546</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1R579">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1R580">580</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1R581">581</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1R582">582</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </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/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1R583">583</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1R584">584</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1R585">585</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/gcs/commit/e752b78fe252a7c33c607c268ebc720af5e6a9e8#L1R586">586</a></span>
</pre>
</th>
<td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", 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">@@ -433,7 +433,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">suite('Configuration API', function() {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> .next(function(response) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> var domain = new Domain('companies', context);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> var field = domain.getIndexField('name');</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- assert.isTrue(field.exists());</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ assert.isTrue(field.exists(), response.body);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> response = toParsedResponse(response);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> assert.deepEqual(response.pattern,</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -470,7 +470,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">suite('Configuration API', function() {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> .next(function(response) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> var domain = new Domain('companies', context);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> var field = domain.getIndexField('name');</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- assert.isTrue(field.exists());</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ assert.isTrue(field.exists(), response.body);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> response = toParsedResponse(response);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> assert.deepEqual(response.pattern,</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -506,7 +506,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">suite('Configuration API', function() {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> .next(function(response) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> var domain = new Domain('companies', context);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> var field = domain.getIndexField('age');</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- assert.isTrue(field.exists());</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ assert.isTrue(field.exists(), response.body);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> response = toParsedResponse(response);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> assert.deepEqual(response.pattern,</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -540,7 +540,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">suite('Configuration API', function() {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> .next(function(response) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> var domain = new Domain('companies', context);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> var field = domain.getIndexField('product');</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- assert.isTrue(field.exists());</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ assert.isTrue(field.exists(), response.body);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> response = toParsedResponse(response);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> assert.deepEqual(response.pattern,</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -580,7 +580,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">suite('Configuration API', function() {</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> .next(function(response) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> var domain = new Domain('companies', context);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> var field = domain.getIndexField('product');</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- assert.isTrue(field.exists());</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ assert.isTrue(field.exists(), response.body);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> response = toParsedResponse(response);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> assert.deepEqual(response.pattern,</span>
</pre>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>