<!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">Masafumi Yokoyama &lt;yokoy****@clear*****&gt;</dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Date</dt>
      <dd style="margin-left: 8.5em">2018-06-29 16:16:53 +0900 (Fri, 29 Jun 2018)</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/groonga.org/commit/ab9b6327973c5c3fd3e8989c4c535c743ecb9735">ab9b6327973c5c3fd3e8989c4c535c743ecb9735</a></dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Message</dt>
      <dd style="margin-left: 8.5em"><pre style="border: 1px solid #aaa; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; padding: 0.5em; width: auto">blog ja: add description of a topic</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/groonga.org/commit/ab9b6327973c5c3fd3e8989c4c535c743ecb9735#diff-7ab7a173e844377a1029e9b9c039ff14">ja/_posts/2018-06-29-groonga-8.0.4.md</a></li>
        </ul>
      </dd>
    </dl>

    <div class="diff-section" style="clear: both">
      <table style="border-collapse: collapse; border: 1px solid #aaa">
        <thead>
          <tr class="diff-header" style="border: 1px solid #aaa">
            <td colspan="3">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">  Modified: ja/_posts/2018-06-29-groonga-8.0.4.md (+11 -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; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga.org/commit/ab9b6327973c5c3fd3e8989c4c535c743ecb9735#diff-7ab7a173e844377a1029e9b9c039ff14L19">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga.org/commit/ab9b6327973c5c3fd3e8989c4c535c743ecb9735#diff-7ab7a173e844377a1029e9b9c039ff14L20">20</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga.org/commit/ab9b6327973c5c3fd3e8989c4c535c743ecb9735#diff-7ab7a173e844377a1029e9b9c039ff14L21">21</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga.org/commit/ab9b6327973c5c3fd3e8989c4c535c743ecb9735#diff-7ab7a173e844377a1029e9b9c039ff14L22">22</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga.org/commit/ab9b6327973c5c3fd3e8989c4c535c743ecb9735#diff-7ab7a173e844377a1029e9b9c039ff14L23">23</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-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-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/groonga.org/commit/ab9b6327973c5c3fd3e8989c4c535c743ecb9735#diff-7ab7a173e844377a1029e9b9c039ff14L24">24</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga.org/commit/ab9b6327973c5c3fd3e8989c4c535c743ecb9735#diff-7ab7a173e844377a1029e9b9c039ff14L25">25</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga.org/commit/ab9b6327973c5c3fd3e8989c4c535c743ecb9735#diff-7ab7a173e844377a1029e9b9c039ff14L26">26</a></span>
</pre>
            </th>
            <th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga.org/commit/ab9b6327973c5c3fd3e8989c4c535c743ecb9735#diff-7ab7a173e844377a1029e9b9c039ff14R19">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga.org/commit/ab9b6327973c5c3fd3e8989c4c535c743ecb9735#diff-7ab7a173e844377a1029e9b9c039ff14R20">20</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga.org/commit/ab9b6327973c5c3fd3e8989c4c535c743ecb9735#diff-7ab7a173e844377a1029e9b9c039ff14R21">21</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga.org/commit/ab9b6327973c5c3fd3e8989c4c535c743ecb9735#diff-7ab7a173e844377a1029e9b9c039ff14R22">22</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: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga.org/commit/ab9b6327973c5c3fd3e8989c4c535c743ecb9735#diff-7ab7a173e844377a1029e9b9c039ff14R23">23</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga.org/commit/ab9b6327973c5c3fd3e8989c4c535c743ecb9735#diff-7ab7a173e844377a1029e9b9c039ff14R24">24</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga.org/commit/ab9b6327973c5c3fd3e8989c4c535c743ecb9735#diff-7ab7a173e844377a1029e9b9c039ff14R25">25</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga.org/commit/ab9b6327973c5c3fd3e8989c4c535c743ecb9735#diff-7ab7a173e844377a1029e9b9c039ff14R26">26</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga.org/commit/ab9b6327973c5c3fd3e8989c4c535c743ecb9735#diff-7ab7a173e844377a1029e9b9c039ff14R27">27</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga.org/commit/ab9b6327973c5c3fd3e8989c4c535c743ecb9735#diff-7ab7a173e844377a1029e9b9c039ff14R28">28</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga.org/commit/ab9b6327973c5c3fd3e8989c4c535c743ecb9735#diff-7ab7a173e844377a1029e9b9c039ff14R29">29</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga.org/commit/ab9b6327973c5c3fd3e8989c4c535c743ecb9735#diff-7ab7a173e844377a1029e9b9c039ff14R30">30</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga.org/commit/ab9b6327973c5c3fd3e8989c4c535c743ecb9735#diff-7ab7a173e844377a1029e9b9c039ff14R31">31</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga.org/commit/ab9b6327973c5c3fd3e8989c4c535c743ecb9735#diff-7ab7a173e844377a1029e9b9c039ff14R32">32</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga.org/commit/ab9b6327973c5c3fd3e8989c4c535c743ecb9735#diff-7ab7a173e844377a1029e9b9c039ff14R33">33</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga.org/commit/ab9b6327973c5c3fd3e8989c4c535c743ecb9735#diff-7ab7a173e844377a1029e9b9c039ff14R34">34</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga.org/commit/ab9b6327973c5c3fd3e8989c4c535c743ecb9735#diff-7ab7a173e844377a1029e9b9c039ff14R35">35</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga.org/commit/ab9b6327973c5c3fd3e8989c4c535c743ecb9735#diff-7ab7a173e844377a1029e9b9c039ff14R36">36</a></span>
</pre>
            </th>
            <td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -20,7 +20,17 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">published: false</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"> #### [column_create](/ja/docs/reference/commands/column_create)時のバリデーションを追加</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">-FIXME</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+`column_create`コマンドで全文検索インデックスを作成する際、カラムの型とフラグの組み合わせによっては有用な動作をしないため、それらの組み合わせを指定ミスとみなしてバリデーションエラーとするようにしました。</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+以下のケースがバリデーションエラーになります。</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+* ベクターカラムの全文検索インデックスに `WITH_SECTION` フラグが指定されていないケース</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+  * ただし、 `WITH_SECTION` フラグが指定されていなくても、 `WITH_POSITION` フラグが指定されていて、トークナイザーにTokenDelmitが使われている場合はエラーにならず許容します。これはタグ検索に有用な使い方だからです。</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+  * 参考:</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+    * [7.3.11. column_create — Groonga v8.0.4ドキュメント](http://groonga.org/ja/docs/reference/commands/column_create.html#flags)(7.3.11.4.1.3. flags)</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+    * [7.8. トークナイザー — Groonga v8.0.4ドキュメント](http://groonga.org/ja/docs/reference/tokenizers.html#tokendelimit)(7.8.3.11. TokenDelmit)</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+* ベクターカラムの全文検索インデックスに複数のカラムが指定されてマルチカラムインデックスになっているケース</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+  * 片方のカラムの更新時に、もう片方のカラムのインデックスが予期せず消えてしまうためです。この問題が解決されれば、このバリデーションは解除するかもしれません。される予定です。</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+  * 詳細: https://github.com/groonga/groonga/commit/08e2456ba35407e3d5172f71a0200fac2a770142 (英語)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> #### [vector_find](/ja/docs/reference/functions/vector_find)関数を追加</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
</pre>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </body>
</html>