null+****@clear*****
null+****@clear*****
2012年 6月 13日 (水) 09:59:01 JST
Kouhei Sutou 2012-06-13 09:59:01 +0900 (Wed, 13 Jun 2012) New Revision: 63db73c7f8694b761c9b91c4351e1da1fb9e4bf0 Log: doc: use meaningful examples Modified files: doc/source/spec/query_syntax.txt Modified: doc/source/spec/query_syntax.txt (+7 -7) =================================================================== --- doc/source/spec/query_syntax.txt 2012-06-13 09:55:47 +0900 (044e8ad) +++ doc/source/spec/query_syntax.txt 2012-06-13 09:59:01 +0900 (87b8155) @@ -373,10 +373,10 @@ Here is a simple exmaple. .. groonga-command .. include:: ../example/spec/query_syntax/simple_logical_or.log -.. select Entries --query 'n_likes:<10 OR content:@senna' +.. select Entries --query 'n_likes:>10 OR content:@senna' -The expression matches records that ``n_likes`` column value is less -than ``10`` or contain a word ``senna`` in ``content`` column +The expression matches records that ``n_likes`` column value is +greater than ``10`` or contain a word ``senna`` in ``content`` column value. Logical AND @@ -395,10 +395,10 @@ Here is a simple exmaple. .. groonga-command .. include:: ../example/spec/query_syntax/simple_logical_and.log -.. select Entries --query 'n_likes:>=10 + content:@senna' +.. select Entries --query 'n_likes:>=10 + content:@groonga' The expression matches records that ``n_likes`` column value is -greater than or equal to ``10`` and contain a word ``senna`` in +greater than or equal to ``10`` and contain a word ``groonga`` in ``content`` column value. Logical NOT @@ -417,10 +417,10 @@ Here is a simple exmaple. .. groonga-command .. include:: ../example/spec/query_syntax/simple_logical_not.log -.. select Entries --query 'n_likes:>=10 - content:@senna' +.. select Entries --query 'n_likes:>=10 - content:@groonga' The expression matches records that ``n_likes`` column value is -greater than or equal to ``10`` and don't contain a word ``senna`` in +greater than or equal to ``10`` and don't contain a word ``groonga`` in ``content`` column value. Grouping