[Groonga-commit] droonga/droonga.org at ba57a19 [gh-pages] Add example of returned results via an HTTP streaming API

Back to archive index

YUKI Hiroshi null+****@clear*****
Mon Jan 6 18:58:14 JST 2014


YUKI Hiroshi	2014-01-06 18:58:14 +0900 (Mon, 06 Jan 2014)

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

  Message:
    Add example of returned results via an HTTP streaming API

  Modified files:
    tutorial/watch.md

  Modified: tutorial/watch.md (+15 -1)
===================================================================
--- tutorial/watch.md    2014-01-06 18:34:25 +0900 (5176ee7)
+++ tutorial/watch.md    2014-01-06 18:58:14 +0900 (5e6347f)
@@ -190,5 +190,19 @@ Next, open a new console and send "feed"s to the engine like:
 
     # fluent-cat droonga.message < feeds.jsons
 
-Then the client receives three results "new place 0", "new place 1", and "new place 2". They are search results for the query "new", given as a query parameter of the streaming API.
+Then the client receives three results "new place 0", "new place 1", and "new place 2" like:
+
+    {"targets":{"key":"new place 0"}}
+    {"targets":{"key":"new place 1"}}
+    {"targets":{"key":"new place 2"}}
+
+They are search results for the query "new", given as a query parameter of the streaming API.
+
+Results can be appear in different order, like:
+
+    {"targets":{"key":"new place 1"}}
+    {"targets":{"key":"new place 0"}}
+    {"targets":{"key":"new place 2"}}
+
+because "feed"s are processed in multiple workers asynchronously.
 
-------------- next part --------------
HTML����������������������������...
Descargar 



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