[Groonga-commit] droonga/droonga.org at b898f58 [gh-pages] Add description about target path

Back to archive index

YUKI Hiroshi null+****@clear*****
Wed Feb 19 15:26:13 JST 2014


YUKI Hiroshi	2014-02-19 15:26:13 +0900 (Wed, 19 Feb 2014)

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

  Message:
    Add description about target path

  Modified files:
    reference/plugin/matching-pattern/index.md

  Modified: reference/plugin/matching-pattern/index.md (+16 -1)
===================================================================
--- reference/plugin/matching-pattern/index.md    2014-02-19 14:43:20 +0900 (179eef9)
+++ reference/plugin/matching-pattern/index.md    2014-02-19 15:26:13 +0900 (0df1b64)
@@ -92,7 +92,22 @@ A basic pattern is described as an array including 2 or more elements, like foll
 
 #### Target path {#syntax-basic-target-path}
 
-The target path is specified as a string.
+The target path is specified as a string, like:
+
+    "body.success"
+
+The matching mechanism of the Droonga Engine interprets it as a dot-separated list of *path components*.
+A path component represents the property in the message with same name.
+So, the example above means the location:
+
+    {
+      "body": {
+        "success": <target>
+      }
+    }
+
+
+
 
 #### Avialable operators {#syntax-basic-operators}
 
-------------- next part --------------
HTML����������������������������...
Download 



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