[Groonga-commit] groonga/groonga at c0503b1 [master] doc: update examples in tutorial

Back to archive index

Susumu Yata null+****@clear*****
Fri Jan 12 15:58:16 JST 2018


Susumu Yata	2018-01-12 15:58:16 +0900 (Fri, 12 Jan 2018)

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

  Message:
    doc: update examples in tutorial
    
    GitHub: #602

  Modified files:
    doc/source/example/tutorial/drilldown-limit.log
    doc/source/example/tutorial/drilldown-sortby.log
    doc/source/example/tutorial/index-7.log
    doc/source/example/tutorial/introduction-16.log
    doc/source/example/tutorial/introduction-17.log
    doc/source/example/tutorial/introduction-18.log
    doc/source/example/tutorial/search-3.log
    doc/source/example/tutorial/search-6.log
    doc/source/tutorial/drilldown.rst

  Modified: doc/source/example/tutorial/drilldown-limit.log (+1 -1)
===================================================================
--- doc/source/example/tutorial/drilldown-limit.log    2018-01-12 15:41:38 +0900 (205099a0d)
+++ doc/source/example/tutorial/drilldown-limit.log    2018-01-12 15:58:16 +0900 (42406c309)
@@ -1,6 +1,6 @@
 Execution example::
 
-  select --table Site --limit 0 --drilldown country --drilldown_sortby _nsubrecs --drilldown_limit 2 --drilldown_offset 2
+  select --table Site --limit 0 --drilldown country --drilldown_sort_keys _nsubrecs --drilldown_limit 2 --drilldown_offset 2
   # [
   #   [
   #     0, 

  Modified: doc/source/example/tutorial/drilldown-sortby.log (+1 -1)
===================================================================
--- doc/source/example/tutorial/drilldown-sortby.log    2018-01-12 15:41:38 +0900 (6696c0f5b)
+++ doc/source/example/tutorial/drilldown-sortby.log    2018-01-12 15:58:16 +0900 (66c810c74)
@@ -1,6 +1,6 @@
 Execution example::
 
-  select --table Site --limit 0 --drilldown country --drilldown_sortby _nsubrecs
+  select --table Site --limit 0 --drilldown country --drilldown_sort_keys _nsubrecs
   # [
   #   [
   #     0, 

  Modified: doc/source/example/tutorial/index-7.log (+1 -1)
===================================================================
--- doc/source/example/tutorial/index-7.log    2018-01-12 15:41:38 +0900 (1466f683a)
+++ doc/source/example/tutorial/index-7.log    2018-01-12 15:58:16 +0900 (a55549d06)
@@ -1,6 +1,6 @@
 Execution example::
 
-  select --table GeoSite --filter 'geo_in_circle(location, "128515259x503187188", 50000)' --output_columns _key,location,_score --sortby '-geo_distance(location, "128515259x503187188")' --scorer '_score = geo_distance(location, "128515259x503187188")'
+  select --table GeoSite --filter 'geo_in_circle(location, "128515259x503187188", 50000)' --output_columns _key,location,_score --sort_keys '-geo_distance(location, "128515259x503187188")' --scorer '_score = geo_distance(location, "128515259x503187188")'
   # [
   #   [
   #     0, 

  Modified: doc/source/example/tutorial/introduction-16.log (+1 -1)
===================================================================
--- doc/source/example/tutorial/introduction-16.log    2018-01-12 15:41:38 +0900 (dcb5d4fba)
+++ doc/source/example/tutorial/introduction-16.log    2018-01-12 15:58:16 +0900 (f56f32ecf)
@@ -1,6 +1,6 @@
 Execution example::
 
-  select --table Site --sortby -_id
+  select --table Site --sort_keys -_id
   # [
   #   [
   #     0, 

  Modified: doc/source/example/tutorial/introduction-17.log (+1 -1)
===================================================================
--- doc/source/example/tutorial/introduction-17.log    2018-01-12 15:41:38 +0900 (17060a1a9)
+++ doc/source/example/tutorial/introduction-17.log    2018-01-12 15:58:16 +0900 (492833f0b)
@@ -1,6 +1,6 @@
 Execution example::
 
-  select --table Site --query title:@test --output_columns _id,_score,title --sortby -_score
+  select --table Site --query title:@test --output_columns _id,_score,title --sort_keys -_score
   # [
   #   [
   #     0, 

  Modified: doc/source/example/tutorial/introduction-18.log (+1 -1)
===================================================================
--- doc/source/example/tutorial/introduction-18.log    2018-01-12 15:41:38 +0900 (840b9cd94)
+++ doc/source/example/tutorial/introduction-18.log    2018-01-12 15:58:16 +0900 (307a7db41)
@@ -1,6 +1,6 @@
 Execution example::
 
-  select --table Site --query title:@test --output_columns _id,_score,title --sortby -_score,_id
+  select --table Site --query title:@test --output_columns _id,_score,title --sort_keys -_score,_id
   # [
   #   [
   #     0, 

  Modified: doc/source/example/tutorial/search-3.log (+2 -2)
===================================================================
--- doc/source/example/tutorial/search-3.log    2018-01-12 15:41:38 +0900 (e39b4ce1c)
+++ doc/source/example/tutorial/search-3.log    2018-01-12 15:58:16 +0900 (5701227d7)
@@ -1,6 +1,6 @@
 Execution example::
 
-  select --table Site --filter "true" --scorer "_score = rand()" --output_columns _id,_key,_score --sortby _score
+  select --table Site --filter "true" --scorer "_score = rand()" --output_columns _id,_key,_score --sort_keys _score
   # [
   #   [
   #     0, 
@@ -74,7 +74,7 @@ Execution example::
   #     ]
   #   ]
   # ]
-  select --table Site --filter "true" --scorer "_score = rand()" --output_columns _id,_key,_score --sortby _score
+  select --table Site --filter "true" --scorer "_score = rand()" --output_columns _id,_key,_score --sort_keys _score
   # [
   #   [
   #     0, 

  Modified: doc/source/example/tutorial/search-6.log (+1 -1)
===================================================================
--- doc/source/example/tutorial/search-6.log    2018-01-12 15:41:38 +0900 (ecb2b9f8c)
+++ doc/source/example/tutorial/search-6.log    2018-01-12 15:58:16 +0900 (64aebd385)
@@ -1,6 +1,6 @@
 Execution example::
 
-  select --table Site --query "_id:1 OR _id:2" --output_columns _key,location,_score --scorer '_score = geo_distance(location, "128515259x503187188")' --sortby -_score
+  select --table Site --query "_id:1 OR _id:2" --output_columns _key,location,_score --scorer '_score = geo_distance(location, "128515259x503187188")' --sort_keys -_score
   # [
   #   [
   #     0, 

  Modified: doc/source/tutorial/drilldown.rst (+1 -1)
===================================================================
--- doc/source/tutorial/drilldown.rst    2018-01-12 15:41:38 +0900 (0a4a445a0)
+++ doc/source/tutorial/drilldown.rst    2018-01-12 15:58:16 +0900 (f659774a0)
@@ -113,7 +113,7 @@ Sorting drildown results
 Use ``--drilldown_sort_keys`` if you want to sort the result of drilldown. For example, specify ``_nsubrecs`` as ascending order.
 
 .. groonga-command
-.. include:: ../example/tutorial/drilldown-sort_keys.log
+.. include:: ../example/tutorial/drilldown-sortby.log
 .. select --table Site --limit 0 --drilldown country --drilldown_sort_keys _nsubrecs
 
 
-------------- next part --------------
HTML����������������������������...
URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20180112/7e037bfb/attachment-0001.htm 



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