[Groonga-commit] groonga/groonga at effeb7c [master] doc: update example log for prefix search

Back to archive index

HAYASHI Kentaro null+****@clear*****
Fri Aug 22 14:39:05 JST 2014


HAYASHI Kentaro	2014-08-22 14:39:05 +0900 (Fri, 22 Aug 2014)

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

  Message:
    doc: update example log for prefix search

  Renamed files:
    doc/source/example/tutorial/patricia_trie_prefix_search.log
      (from doc/source/example/tutorial/patricia_trie-1.log)

  Renamed: doc/source/example/tutorial/patricia_trie_prefix_search.log (+12 -10) 68%
===================================================================
--- doc/source/example/tutorial/patricia_trie-1.log    2014-08-22 14:37:39 +0900 (4eaabe3)
+++ doc/source/example/tutorial/patricia_trie_prefix_search.log    2014-08-22 14:39:05 +0900 (3f7c309)
@@ -4,13 +4,15 @@ Execution example::
   # [[0, 1337566253.89858, 0.000355720520019531], true]
   load --table PatPrefix
   [
-  {"_key":"ひろゆき"},
-  {"_key":"まろゆき"},
-  {"_key":"ひろあき"},
-  {"_key":"ゆきひろ"}
+  {"_key":"James"}
+  {"_key":"Jason"}
+  {"_key":"Jennifer"},
+  {"_key":"Jeff"},
+  {"_key":"John"},
+  {"_key":"Joseph"},
   ]
-  # [[0, 1337566253.89858, 0.000355720520019531], 4]
-  select --table PatPrefix --query _key:^ひろ
+  # [[0, 1337566253.89858, 0.000355720520019531], 6]
+  select --table PatPrefix --query _key:^Je
   # [
   #   [
   #     0, 
@@ -33,12 +35,12 @@ Execution example::
   #         ]
   #       ], 
   #       [
-  #         1, 
-  #         "ひろゆき"
+  #         3, 
+  #         "Jennifer"
   #       ], 
   #       [
-  #         3, 
-  #         "ひろあき"
+  #         4, 
+  #         "Jeff"
   #       ]
   #     ]
   #   ]
-------------- next part --------------
HTML����������������������������...
Descargar 



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