Skip to content

Commit

Permalink
Remove trailing spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed May 30, 2016
1 parent 74a2afa commit eb3a4d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ja/_posts/2016-05-29-groonga-6.0.3.md
Expand Up @@ -113,7 +113,7 @@ Groongaには[コマンドにバージョン](http://groonga.org/ja/docs/referen
]

`number_classify`を使って実現するには次のようなクエリを実行します。

select Prices --sortby _id --limit -1 --output_columns '_key, number_classify(_key, 100)'

`number_classify(_key, 100)`は分類には`_key`の値を使うこと、値の範囲は100区切りで分類する、というのを指定しています。
Expand Down Expand Up @@ -205,7 +205,7 @@ Groongaには[コマンドにバージョン](http://groonga.org/ja/docs/referen
{"_key": "item5", "price": 333},
{"_key": "item6", "price": 222}
]

これをもとに、価格の安い順だと何番目のレコードになるかを取得してみましょう。クエリは次のようになります。

select Items \
Expand Down

0 comments on commit eb3a4d1

Please sign in to comment.