: This is probably because your dictionary is made up of all lower case tokens,
: but when you query the spell-checker similar analysis doesnt happen. Ideal
: case would be when you query the spellchecker you send lower case queries

You can init the SpellCheckComponent with a "queryAnalyzerFieldType" 
option that will control what analysis happens.  ie...

  <!-- This field type's analyzer is used by the QueryConverter to tokenize the 
value for "q" parameter -->
  <str name="queryAnalyzerFieldType">phrase_suggest</str>


...it would be nice if this defaulted to using the fieldType of hte field 
you configure on the Suggester, but not all Impls are based on the index 
(you might be using an external dict file) so it has to be explicitly 
configured, and defaults to using a simple WhitespaceAnalyzer.


-Hoss

Reply via email to