Hi all,

I'm facing the same issue as previous post here: 
http://www.mail-archive.com/solr-user@lucene.apache.org/msg19511.html. Since no 
one answers this post, I thought I'll ask again. In my case, I use below 
setting for index
<filter class="solr.WordDelimiterFilterFactory" generateWordParts="1" 
generateNumberParts="1" catenateWords="1" catenateNumbers="1" catenateAll="0" 
splitOnCaseChange="0" preserveOriginal="1"/>
and
<filter class="solr.WordDelimiterFilterFactory" generateWordParts="1" 
generateNumberParts="1" catenateWords="0" catenateNumbers="0" catenateAll="0" 
splitOnCaseChange="0" preserveOriginal="1"/> for query.

When I use query with word "ain't", no result is returned. When I turned on the 
logging, I found the word is interpreted as "(ain't ain) t".

0.0 = (NON-MATCH) Failure to meet condition(s) of required/prohibited clause(s)
0.0 = no match on required clause ((description:"(ain't ain) t"^2.0 | 
name:"(ain't ain) t"^3.0 | search_keywords:"(ain't ain) t")~0.1)

Does anyone know why ain't be parsed as "(ain't ain) t" and how to fix it so it 
can match documents that include ain't in the name? Thanks in advance!

Wen

Reply via email to