Thanks a lot Alex...
It looks like it works as expected... I removed "EdgeNGramFilterFactory"
from "query" section and used "KeywordTokenizerFactory" in "index"... this
is final version..
So... when is right to use <*tokenizer *
class="solr.EdgeNGramTokenizerFactory
So, try the suggested tokenizers and dump the ngrams from query. See
what happens. Ask a separate question with corrected config/output if
you still have issues.
Regards,
Alex.
Sign up for my Solr resources newsletter at http://www.solr-start.com/
On 20 January 2015 at 23:08, Vishal Swar
Thanks for the response..
a) I am trying to make it non-case-sensitive... itemName data is indexed in
upper case
b) I am looking to display the result as type-ahead suggestion which might
include space, underscore, number...
- "ABC12DE" : It does not work as soon as I type 1.. i.e. ABC1
Output ex
Were you actually trying to "...divides text at non-letters and
converts them to lower case"? Or were you trying to make it
non-case-sensitive, which would be KeywordTokenizer and
LowerCaseFilter?
Also, normally we do not use NGRam filter on both Index and Query.
That just makes things to match on