[Groonga-commit] groonga/groonga at fc0b3df [master] doc: add note about index columns for --match_columns

Back to archive index

Kentaro Hayashi null+****@clear*****
Wed May 10 16:28:55 JST 2017


Kentaro Hayashi	2017-05-10 16:28:55 +0900 (Wed, 10 May 2017)

  New Revision: fc0b3dfcab0a0cef62da0f77508571400e7e2a63
  https://github.com/groonga/groonga/commit/fc0b3dfcab0a0cef62da0f77508571400e7e2a63

  Message:
    doc: add note about index columns for --match_columns

  Modified files:
    doc/source/reference/commands/select.rst

  Modified: doc/source/reference/commands/select.rst (+17 -0)
===================================================================
--- doc/source/reference/commands/select.rst    2017-05-10 16:27:00 +0900 (ca52c49)
+++ doc/source/reference/commands/select.rst    2017-05-10 16:28:55 +0900 (d963da5)
@@ -551,6 +551,23 @@ details.
 Note that score function isn't related to :ref:`select-scorer`
 parameter.
 
+You can also specify index columns to ``--match_columns``
+parameter. In such a case, you can control what index column should be
+used and what data column should be searched explicitly.
+
+There are two kind of index columns which you can specify.
+
+* index column for one data column
+* index column for multiple data column
+
+If you use index column for one data column, index column which
+corresponds to data column is paired. On the otherhand, if you use
+index column for multiple data column, all data column is searched by
+default. If you want to use specific index column to search specific
+data column, Specify index column with data column name such as
+`TERMS_TABLE.INDEX_COLUMN.DATA_COLUMN``. See example use case
+:ref:`full-text-search-with-specific-index-name` for details.
+
 .. _select-query:
 
 ``query``
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index