Permalink
Browse files

add docs for numeric sorting too.

  • Loading branch information...
1 parent 2b14b76 commit fa0e48fa7eec9c5f413298b009634384fade6497 Robert Newson committed Dec 24, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
View
2 README.md
@@ -342,7 +342,7 @@ The following parameters can be passed for more sophisticated searches;
<dt>limit</dt><dd>the maximum number of results to return</dd>
<dt>q</dt><dd>the query to run (e.g, subject:hello). If not specified, the default field is searched.</dd>
<dt>skip</dt><dd>the number of results to skip</dd>
-<dt>sort</dt><dd>the comma-separated fields to sort on. Prefix with / for ascending order and \ for descending order (ascending is the default if not specified). Type-specific sorting is also available by appending a : and the sort type as normal (e.g, 'sort=amount:float').</dd>
+<dt>sort</dt><dd>the comma-separated fields to sort on. Prefix with / for ascending order and \ for descending order (ascending is the default if not specified). Type-specific sorting is also available by appending a : and the sort type as normal (e.g, 'sort=amount:float'). Supported types are 'float', 'double', 'int', 'long' and 'date'.</dd>
<dt>stale=ok</dt><dd>If you set the <i>stale</i> option to <i>ok</i>, couchdb-lucene may not perform any refreshing on the index. Searches may be faster as Lucene caches important data (especially for sorting). A query without stale=ok will use the latest data committed to the index.</dd>
</dl>

0 comments on commit fa0e48f

Please sign in to comment.