Browse files

more docs for perfield analyzer.

  • Loading branch information...
1 parent 86569b1 commit 1325fd3e0c89619e315bc4ef0993179cf52f0bee Robert Newson committed Jan 8, 2010
Showing with 12 additions and 2 deletions.
  1. +12 −2
@@ -169,13 +169,23 @@ Note: You must also supply analyzer=<analyzer_name> as a query parameter to ensu
The "perfield" option lets you use a different analyzer for different fields and is configured as follows;
Unless overridden, any field name not specified will be handled by the standard analyzer. To change the default, use the special default field name;
+You should also specify the analyzer in your ddoc too;
+"fulltext": {
+ "idx": {
+ "analyzer": "perfield:{default:\"keyword\"}"
+ }
<h3>The Document class</h3>

0 comments on commit 1325fd3

Please sign in to comment.