Hi,
I use the next fieldType:
<fieldType name="text_general_rev" class="solr.TextField"
positionIncrementGap="100">
<analyzer type="index">
<tokenizer class="solr.StandardTokenizerFactory"/>
<filter class="solr.StopFilterFactory" ignoreCase="true"
words="stopwords.txt" enablePositionIncrements="true" />
<filter class="solr.LowerCaseFilterFactory"/>
<filter class="solr.ReversedWildcardFilterFactory"
withOriginal="true"/>
</analyzer>
<analyzer type="query">
<tokenizer class="solr.StandardTokenizerFactory"/>
<filter class="solr.SynonymFilterFactory"
synonyms="synonyms.txt"
ignoreCase="true" expand="true"/>
<filter class="solr.StopFilterFactory" ignoreCase="true"
words="stopwords.txt" enablePositionIncrements="true" />
<filter class="solr.LowerCaseFilterFactory"/>
<filter class="solr.ReversedWildcardFilterFactory"
withOriginal="true"/>
</analyzer>
</fieldType>
What I want is to find autocar when I'm searching for "auto*", for example,
but no leading wildcard is returned. When I check fieldType with Analysis,
I get this :
Index Analyzer
autocar
autocar
autocar
#1;racotua
autocar
Query Analyzer
car
car
car
car
#1;rac
car
So using for my search "car*" shouldn't become rac* and match racotua ?
Even if I search after "rac*" autocar is not found.
Using for search *car* is very expensive so I'm trying to generate the
reversed string and find it. There is a working configuration to accomplish
this?
--
View this message in context:
http://lucene.472066.n3.nabble.com/Shouldn-t-ReversedWildcardFilterFactory-resolve-leadingWildcard-tp3335240p3335240.html
Sent from the Solr - User mailing list archive at Nabble.com.