Hi iorixxx, this is how we our email field defined.
<fieldType name="text_email" class="solr.TextField"
positionIncrementGap="100">
<analyzer>
<tokenizer class="solr.StandardTokenizerFactory"/>
<filter class="solr.LowerCaseFilterFactory"/>
<filter class="solr.PatternReplaceFilterFactory"
pattern="\." replacement=" DOT " replace="all"/>
<filter class="solr.PatternReplaceFilterFactory" pattern="@"
replacement=" AT " replace="all"/>
<filter class="solr.WordDelimiterFilterFactory"
generateWordParts="1" generateNumberParts="1"
catenateWords="0" catenateNumbers="0"
catenateAll="0" splitOnCaseChange="0"/>
</analyzer>
<analyzer type="multiterm">
<tokenizer class="solr.KeywordTokenizerFactory" />
</analyzer>
</fieldType>
So a query like [emailAddress : bob*] would match [email protected], but queries
which include the special charecter like [bob@*] and [bob@bob.*] will not
match any email addresses.
Yes, I tried the multiterm and it does not fix the issue. Any thots?
--
View this message in context:
http://lucene.472066.n3.nabble.com/Anyone-working-on-adapting-AnalyzingQueryParser-to-solr-tp500199p4017404.html
Sent from the Solr - User mailing list archive at Nabble.com.