Differences between revisions 2 and 3
Revision 2 as of 2013-05-06 20:08:31
Size: 1191
Editor: AndyLester
Comment: new arguments
Revision 3 as of 2013-05-06 20:11:44
Size: 1180
Editor: AndyLester
Comment: fixed typo in heading
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
== spellcheck.maxEdits == == maxEdits ==

Intro

The DirectSolrSpellChecker is a spell checker that doesn't require building a separate, parallel index in order.

maxEdits

Specifies the number of changes that are allowed between the search term and the suggestions. This value can only be 1 or 2. It defaults to 2, and setting it to 1 will reduce the number of suggestions possible.

minPrefix

Specify the minimum number of characters that the original search term and its suggestions should share. Setting this to a higher value will reduce the number of suggestions possible.

maxInspections

This argument specifies the maximum number of possible matches to review before returning results; the default is 5.

minQueryLength

Defines how many characters must be in the query before suggestions are provided; the default is 4.

maxQueryFrequency

Defines the maximum threshold for the number of documents a term must appear in before being considered as a suggestion. This can be a percentage (".01" or "1%" are equivalent), or an absolute value ("5"). A lower threshold is better for small indexes.

/!\ :TODO: /!\

* Describe arguments specific to this checker

DirectSolrSpellChecker (last edited 2013-05-06 20:11:44 by AndyLester)