lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Landon Kuhn <>
Subject false matches with ReversedWildcardFilterFactory
Date Thu, 02 Sep 2010 17:10:02 GMT
Hello, I am using the ReversedWildcardFilterFactory, and I am
wondering if there is a way to prevent false matches when a query
token matches the reversed indexed token. For instance, the query
*zemog* matches documents that contain Gomez. I am pretty much using
the fieldType configuration from the sample schema.xml:

		<fieldType name="text" class="solr.TextField"
positionIncrementGap="100" omitNorms="true" termPositions="false"
termOffsets="false" sortMissingLast="true">
			<analyzer type="index">
				<tokenizer class="solr.WhitespaceTokenizerFactory"/>
				<filter class="solr.LowerCaseFilterFactory"/>
				<filter class="solr.ReversedWildcardFilterFactory"
withOriginal="true" maxPosAsterisk="3" maxPosQuestion="2"
			<analyzer type="query">
				<tokenizer class="solr.WhitespaceTokenizerFactory"/>
				<filter class="solr.LowerCaseFilterFactory"/>

View raw message