Skip to content
Browse files

document the syntax for numeric terms.

  • Loading branch information...
1 parent ca21eec commit fad4eb111a724486534fce12c4a2ab04d22c8085 Robert Newson committed Jun 29, 2010
Showing with 6 additions and 0 deletions.
  1. +6 −0 README.md
View
6 README.md
@@ -357,6 +357,12 @@ An example numeric range query for spatial searching.
?q=pizza AND lat<double>:[51.4707 TO 51.5224] AND long<double>:[-0.6622 TO -0.5775]
</pre>
+<h2>Numeric term queries</h2>
+
+Fields indexed with numeric types can still be queried as normal terms, couchdb-lucene just needs to know the type. For example, ?q=age<long>:12 will find all documents where the field called 'age' has a value of 12 (when the field was indexed as "type":"int".
+
+<h2>Search parameters</h2>
+
The following parameters can be passed for more sophisticated searches;
<dl>

0 comments on commit fad4eb1

Please sign in to comment.
Something went wrong with that request. Please try again.