[Groonga-commit] groonga/groonga at 607bfc8 [master] doc: create diretroy for groonga-suggest-httpd

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Apr 26 10:22:36 JST 2016


Kouhei Sutou	2016-04-26 10:22:36 +0900 (Tue, 26 Apr 2016)

  New Revision: 607bfc8538a4adbc32108e9c1b981345fcb15441
  https://github.com/groonga/groonga/commit/607bfc8538a4adbc32108e9c1b981345fcb15441

  Message:
    doc: create diretroy for groonga-suggest-httpd

  Removed files:
    doc/source/example/reference/executables/groonga-suggest-httpd-learn.log
  Modified files:
    doc/files.am
    doc/source/reference/executables/groonga-suggest-httpd.rst
  Renamed files:
    doc/source/example/reference/executables/groonga-suggest-httpd/launch-lerner.log
      (from doc/source/example/reference/executables/groonga-suggest-httpd-launch-lerner.log)
    doc/source/example/reference/executables/groonga-suggest-httpd/launch.log
      (from doc/source/example/reference/executables/groonga-suggest-httpd-launch.log)
    doc/source/example/reference/executables/groonga-suggest-httpd/learn.log
      (from doc/source/example/reference/executables/groonga-suggest-httpd-request.log)
    doc/source/example/reference/executables/groonga-suggest-httpd/setup.log
      (from doc/source/example/reference/executables/groonga-suggest-httpd-setup.log)

  Modified: doc/files.am (+8 -10)
===================================================================
--- doc/files.am    2016-04-26 10:20:24 +0900 (2df45ec)
+++ doc/files.am    2016-04-26 10:22:36 +0900 (217a723)
@@ -276,11 +276,10 @@ absolute_source_files = \
 	$(top_srcdir)/doc/source/example/reference/commands/truncate/truncate_column.log \
 	$(top_srcdir)/doc/source/example/reference/commands/truncate/truncate_table.log \
 	$(top_srcdir)/doc/source/example/reference/executables/groonga-httpd.log \
-	$(top_srcdir)/doc/source/example/reference/executables/groonga-suggest-httpd-launch-lerner.log \
-	$(top_srcdir)/doc/source/example/reference/executables/groonga-suggest-httpd-launch.log \
-	$(top_srcdir)/doc/source/example/reference/executables/groonga-suggest-httpd-learn.log \
-	$(top_srcdir)/doc/source/example/reference/executables/groonga-suggest-httpd-request.log \
-	$(top_srcdir)/doc/source/example/reference/executables/groonga-suggest-httpd-setup.log \
+	$(top_srcdir)/doc/source/example/reference/executables/groonga-suggest-httpd/launch-lerner.log \
+	$(top_srcdir)/doc/source/example/reference/executables/groonga-suggest-httpd/launch.log \
+	$(top_srcdir)/doc/source/example/reference/executables/groonga-suggest-httpd/learn.log \
+	$(top_srcdir)/doc/source/example/reference/executables/groonga-suggest-httpd/setup.log \
 	$(top_srcdir)/doc/source/example/reference/functions/between/usage_age.log \
 	$(top_srcdir)/doc/source/example/reference/functions/between/usage_setup.log \
 	$(top_srcdir)/doc/source/example/reference/functions/between/usage_value.log \
@@ -1111,11 +1110,10 @@ source_files_relative_from_doc_dir = \
 	source/example/reference/commands/truncate/truncate_column.log \
 	source/example/reference/commands/truncate/truncate_table.log \
 	source/example/reference/executables/groonga-httpd.log \
-	source/example/reference/executables/groonga-suggest-httpd-launch-lerner.log \
-	source/example/reference/executables/groonga-suggest-httpd-launch.log \
-	source/example/reference/executables/groonga-suggest-httpd-learn.log \
-	source/example/reference/executables/groonga-suggest-httpd-request.log \
-	source/example/reference/executables/groonga-suggest-httpd-setup.log \
+	source/example/reference/executables/groonga-suggest-httpd/launch-lerner.log \
+	source/example/reference/executables/groonga-suggest-httpd/launch.log \
+	source/example/reference/executables/groonga-suggest-httpd/learn.log \
+	source/example/reference/executables/groonga-suggest-httpd/setup.log \
 	source/example/reference/functions/between/usage_age.log \
 	source/example/reference/functions/between/usage_setup.log \
 	source/example/reference/functions/between/usage_value.log \

  Deleted: doc/source/example/reference/executables/groonga-suggest-httpd-learn.log (+0 -16) 100644
===================================================================
--- doc/source/example/reference/executables/groonga-suggest-httpd-learn.log    2016-04-26 10:20:24 +0900 (3b90fa1)
+++ /dev/null
@@ -1,16 +0,0 @@
-Execution example::
-
-  % 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'
-  {}

  Renamed: doc/source/example/reference/executables/groonga-suggest-httpd/launch-lerner.log (+0 -0) 100%
===================================================================

  Renamed: doc/source/example/reference/executables/groonga-suggest-httpd/launch.log (+0 -0) 100%
===================================================================

  Renamed: doc/source/example/reference/executables/groonga-suggest-httpd/learn.log (+0 -0) 100%
===================================================================

  Renamed: doc/source/example/reference/executables/groonga-suggest-httpd/setup.log (+0 -0) 100%
===================================================================

  Modified: doc/source/reference/executables/groonga-suggest-httpd.rst (+10 -5)
===================================================================
--- doc/source/reference/executables/groonga-suggest-httpd.rst    2016-04-26 10:20:24 +0900 (07bd2a5)
+++ doc/source/reference/executables/groonga-suggest-httpd.rst    2016-04-26 10:22:36 +0900 (7873c5f)
@@ -4,6 +4,8 @@
 
 .. groonga-command
 .. database: groonga-suggest-httpd
+.. % killall lt-groonga-suggest-learner || :
+.. % killall lt-groonga-suggest-httpd || :
 
 ``groonga-suggest-httpd``
 =========================
@@ -58,7 +60,7 @@ You need to create a dataset by :doc:`groonga-suggest-create-dataset`.
 Here is an example that creates ``query`` dataset:
 
 .. groonga-command
-.. include:: ../../example/reference/executables/groonga-suggest-httpd-setup.log
+.. include:: ../../example/reference/executables/groonga-suggest-httpd/setup.log
 .. % groonga-suggest-create-dataset ${DB_PATH} query
 
 :doc:`groonga-suggest-create-dataset` outputs executed commands. You
@@ -106,7 +108,7 @@ omits the instruction for creating ``query`` dataset:
 .. % groonga-suggest-create-dataset ${DB_PATH} query
 
 .. groonga-command
-.. include:: ../../example/reference/executables/groonga-suggest-httpd-launch-lerner.log
+.. include:: ../../example/reference/executables/groonga-suggest-httpd/launch-lerner.log
 .. % groonga-suggest-learner --daemon ${DB_PATH}
 
 The ``groonga-suggest-learner`` process opens two endpoints at
@@ -132,7 +134,7 @@ communicates :doc:`groonga-suggest-learner`:
 .. database: groonga-suggest-httpd
 
 .. groonga-command
-.. include:: ../../example/reference/executables/groonga-suggest-httpd-launch.log
+.. include:: ../../example/reference/executables/groonga-suggest-httpd/launch.log
 .. % groonga-suggest-httpd --send-endpoint 'tcp://127.0.0.1:1234' --receive-endpoint 'tcp://127.0.0.1:1235' --daemon ${DB_PATH}
 
 TODO: httpd and learner communication doesn't work...
@@ -158,7 +160,7 @@ Here are example requests to learn user input "Groonga" in ``query``
 dataset::
 
 .. groonga-command
-.. include:: ../../example/reference/executables/groonga-suggest-httpd-learn.log
+.. include:: ../../example/reference/executables/groonga-suggest-httpd/learn.log
 .. % 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'
@@ -393,4 +395,7 @@ See also
   * :doc:`/reference/commands/suggest`
 
 .. groonga-command
-.. % killall lt-groonga-suggest-learner lt-groonga-suggest-httpd
+.. % killall lt-groonga-suggest-learner || :
+.. % killall lt-groonga-suggest-httpd || :
+.. % killall -KILL lt-groonga-suggest-learner || :
+.. % killall -KILL lt-groonga-suggest-httpd || :
-------------- next part --------------
HTML����������������������������...
다운로드 



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