Check the analyzer of the field you defined for queryAnalyzerFieldType which is configured in the search component.
On Wednesday 22 December 2010 16:32:18 Sebastian M wrote: > Hello, > > > My main (full text) index contains the terms "www", "sometest", "com", > which is intended and correct. > > My spellcheck index contains the term "www.sometest.com". which is also > intended and correct. > > However, when querying the spellchecker using the query "www.sometest.com", > I get the suggestion "www.www.sometest.com.com", despite the fact that I'm > not using a tokenizer that splits on "." (period marks) as part of my > spellcheck query analyzer. > > When running the Field Analyzer (in the Solr admin page), I can see that > even after the last filter (see below), my term text remains > "www.sometest.com", which is untokenized, as expected. > > Any thoughts as to what may be causing this undesired tokenization? > > To summarize: > > Main index contains: "www", "sometest", "com" > Spellcheck index contains: "www.sometest.com" > Spellcheck query: "www.sometest.com" > Expected result: (no suggestion) > Actual result: "www.www.sometest.com.com" > > > Here is my spellcheck query analyzer: > <analyzer type="query"> > <tokenizer class="solr.WhitespaceTokenizerFactory"/> > <filter class="solr.SynonymFilterFactory" synonyms="synonyms.txt" > ignoreCase="true" expand="true"/> > <filter class="solr.StopFilterFactory" ignoreCase="true" > words="stopwords.txt"/> > <filter class="solr.StandardFilterFactory"/> > <filter class="solr.LowerCaseFilterFactory"/> > <filter class="solr.RemoveDuplicatesTokenFilterFactory"/> > </analyzer> > > > > Thank you in advance; any suggestions are welcome! > Sebastian -- Markus Jelsma - CTO - Openindex http://www.linkedin.com/in/markus17 050-8536620 / 06-50258350