I wish to index email ids in SOLR but somehow it doesnt work.
My search has two parts. Auto suggest and text search.
Auto suggest works just fine when I use
<analyzer type="index">
<tokenizer class="solr.LowerCaseTokenizerFactory"/>
<filter class="solr.EdgeNGramFilterFactory" minGramSize="1" maxGramSize="15" side="front"/>
</analyzer>
<analyzer type="query">
<tokenizer class="solr.LowerCaseTokenizerFactory"/>
</analyzer>
but the when i search for an email id that is unique it gives multiple results. For e.g. sameer.rao@xyz.com
is the entry
input: sameer.rao
output:
sameer1.rao
sameer.rao1
sameer.rao
Please help!
I have tried using standard tokenizer, but it only searches the phrases separated by delimiters. I also want to implement auto suggest which would return results on partial search. sample: ankarao.ka
must return ankarao.kale ankarao.kate The field names i have used are
I am then copying email id to the remaining fields. The description of field types is given below.