...@gmail.com
Sent: Wednesday, July 17, 2013 8:09 AM
To: solr-user@lucene.apache.org
Subject: Re: Search with punctuations
Hi Erick,
I modified the SOLR schema file for the field as follows and re-indexed the
schema,
Hi Erick,
I modified the SOLR schema file for the field as follows and re-indexed the
schema,
My previous scenario seems to be working fine i.e., when I
1> You have to re-index after changing your schema, did you?
2> The admin/analysis page is your friend. It'll show you exactly
what transformations are applied both at query and index time.
3> WhitespaceTokenizerFactory is only _part_ of the solution, it
just breaks up the incoming. WordD
Hi Erick,
Thanks for your reply!
I have tried both of the suggestions that you have mentioned i.e.,
1. Using WhitespaceTokensizerFactory
2. Using WordDelimiterFilterFactory with
catenateWords="1"
But, I still face the same issue. Should the tokenizers/ factories used must
be the same for both "
At a first glance, you're replacing the apostrophe with a space
so INT'L becomes INT L, two separate tokens. Why not
replace with ""? I.e. remove the apostrophe?
I also suspect you actually want WhitespaceTokensizerFactory,
KeywordTokenizerFactory will cause "my dog has fleas" to be
indexed exactl