[Groonga-commit] groonga/groonga at cd3fc1e [master] doc query: complete

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Jan 26 08:54:17 JST 2017


Kouhei Sutou	2017-01-26 08:54:17 +0900 (Thu, 26 Jan 2017)

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

  Message:
    doc query: complete

  Modified files:
    doc/source/reference/functions/query.rst

  Modified: doc/source/reference/functions/query.rst (+12 -3)
===================================================================
--- doc/source/reference/functions/query.rst    2017-01-26 08:54:01 +0900 (1cda2d0)
+++ doc/source/reference/functions/query.rst    2017-01-26 08:54:17 +0900 (1b10d70)
@@ -169,7 +169,8 @@ operation is used when you just specify ``keyword`` instead of
 ``column:@keyword``. See :doc:`/reference/grn_expr/query_syntax` for
 more syntax details.
 
-Here are available modes. The default is ``MATCH`` mode.
+Here are available modes. The default is ``MATCH`` mode. It does full
+text search.
 
 .. list-table::
    :header-rows: 1
@@ -227,7 +228,16 @@ Here are available modes. The default is ``MATCH`` mode.
 ``flags``
 """""""""
 
-TODO
+Specifies the flags that customizes how to parse query.
+
+You can specify multiple flags by separating each flags by ``|``. Here
+is the example to specify multiple flags::
+
+  query("title * 10 || content",
+        "keyword",
+        {"flags": "ALLOW_COLUMN|ALLOW_LEADING_NOT"})
+
+See :ref:`select-query-flags` for available flags.
 
 Return value
 ------------
@@ -236,7 +246,6 @@ Return value
 records are matched, it returns ``true``. Otherwise, it returns
 ``false``.
 
-
 See also
 --------
 
-------------- next part --------------
HTML����������������������������...
Download 



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