[Groonga-commit] droonga/droonga.org at a3e42ca [gh-pages] Add an example for indexOption

Back to archive index

Yoji Shidara null+****@clear*****
Wed Mar 5 15:13:21 JST 2014


Yoji Shidara	2014-03-05 15:13:21 +0900 (Wed, 05 Mar 2014)

  New Revision: a3e42cafd083f5e2f1ba45eb8da07aa0a8606a2a
  https://github.com/droonga/droonga.org/commit/a3e42cafd083f5e2f1ba45eb8da07aa0a8606a2a

  Merged efe7e86: Merge branch 'catalog-example' into gh-pages

  Message:
    Add an example for indexOption

  Modified files:
    reference/catalog/version2/index.md

  Modified: reference/catalog/version2/index.md (+17 -0)
===================================================================
--- reference/catalog/version2/index.md    2014-03-05 12:54:22 +0900 (b42d989)
+++ reference/catalog/version2/index.md    2014-03-05 15:13:21 +0900 (ec40a5c)
@@ -370,6 +370,23 @@ Inheritable
 Value
 : An object with the following key/value pairs.
 
+Example:
+
+Store the section data, the weight data and the position data.
+Index `name` and `address` on the referencing table.
+
+~~~
+{
+  "section": true,
+  "weight": true,
+  "position": true
+  "sources": [
+    "name",
+    "address"
+  ]
+}
+~~~
+
 #### `section` {#parameter-section}
 
 Abstract
-------------- next part --------------
HTML����������������������������...
Download 



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