Permalink
Browse files

document new analyzer query parameter

  • Loading branch information...
1 parent 6deb664 commit 70c8bf6da1a750b9c61058749d9d2084176ee5a0 Robert Newson committed Nov 14, 2010
Showing with 2 additions and 1 deletion.
  1. +2 −1 README.md
View
@@ -376,7 +376,8 @@ Fields indexed with numeric types can still be queried as normal terms, couchdb-
The following parameters can be passed for more sophisticated searches;
<dl>
-<dt>callback</dt><dd>Specify a JSONP callback wrapper. The full JSON result will be prepended with this parameter and also placed with parentheses."
+<dt>analyzer</dt><dd>Override the default analyzer used to parse the q parameter</dd>
+<dt>callback</dt><dd>Specify a JSONP callback wrapper. The full JSON result will be prepended with this parameter and also placed with parentheses."</dd>
<dt>debug</dt><dd>Setting this to true disables response caching (the query is executed every time) and indents the JSON response for readability.</dd>
<dt>force_json<dt><dd>Usually couchdb-lucene determines the Content-Type of its response based on the presence of the Accept header. If Accept contains "application/json", you get "application/json" in the response, otherwise you get "text/plain;charset=utf8". Some tools, like JSONView for FireFox, do not send the Accept header but do render "application/json" responses if received. Setting force_json=true forces all response to "application/json" regardless of the Accept header.</dd>
<dt>include_docs</dt><dd>whether to include the source docs</dd>

0 comments on commit 70c8bf6

Please sign in to comment.