Hi,

I have a field named "productName" in my schema which uses the standard
"text" field type. And one of my product name is "star/bit". When I search
for "star/bit" (without quotes) using the dismax request hander, NO results
was found.

After some research, looks like during indexing, "star/bit" was tokenized
into "star", "bit" and "starbit" by the WordDelimiterFilterFactory. And at
search time, "star/bit" (without quotes) was turned into a "star bit" phrase
query, therefore no matches since there is no "star bit" phrase in the
index.

My question is: 

1. Am I understanding it correctly? If yes, how can I make sure a match can
be found? If not, what's really happening?

2. Why does dismax turn "star/bit" into a "star bit" phrase search instead
of searching for "star" or "bit" or "starbit"?

Thanks for your help!


Alex


--
View this message in context: 
http://lucene.472066.n3.nabble.com/Special-characters-during-indexing-and-searching-tp2795914p2795914.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to