[Groonga-commit] groonga/groonga at 9414def [master] doc suggest: add example query for learning keyword

Back to archive index

HAYASHI Kentaro null+****@clear*****
Thu May 1 18:01:45 JST 2014


HAYASHI Kentaro	2014-05-01 18:01:45 +0900 (Thu, 01 May 2014)

  New Revision: 9414def099d83b3b90eced318b6896a7f24a4634
  https://github.com/groonga/groonga/commit/9414def099d83b3b90eced318b6896a7f24a4634

  Message:
    doc suggest: add example query for learning keyword

  Modified files:
    doc/source/reference/executables/groonga-suggest-httpd.txt

  Modified: doc/source/reference/executables/groonga-suggest-httpd.txt (+10 -2)
===================================================================
--- doc/source/reference/executables/groonga-suggest-httpd.txt    2014-04-30 13:56:57 +0900 (35ffe75)
+++ doc/source/reference/executables/groonga-suggest-httpd.txt    2014-05-01 18:01:45 +0900 (d1ec181)
@@ -48,8 +48,16 @@ After executing above command, groonga-suggest-httpd accepts HTTP request on 808
 Request to groonga-suggest-httpd
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
-TODO
-
+Here is the sample requests to learn 'groonga' for 'query' dataset::
+
+  curl 'http://localhost:8080/?i=127.0.0.1&l=query&s=92619&t=complete&q=g'
+  curl 'http://localhost:8080/?i=127.0.0.1&l=query&s=93850&t=complete&q=gr'
+  curl 'http://localhost:8080/?i=127.0.0.1&l=query&s=94293&t=complete&q=gro'
+  curl 'http://localhost:8080/?i=127.0.0.1&l=query&s=94734&t=complete&q=groo'
+  curl 'http://localhost:8080/?i=127.0.0.1&l=query&s=95147&t=complete&q=grooon'
+  curl 'http://localhost:8080/?i=127.0.0.1&l=query&s=95553&t=complete&q=groonga'
+  curl 'http://localhost:8080/?i=127.0.0.1&l=query&s=95959&t=submit&q=groonga
+  
 Options
 -------
 
-------------- next part --------------
HTML����������������������������...
Télécharger 



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