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. WordDelimiterFilterFactory would then be applied to each token. 4> Yes, you must have the index and query time analysis chains be "compatible". For the time being, "identical" is probably best as I'm guessing you're not entirely familiar with the process.
Best Erick On Mon, Jul 15, 2013 at 2:40 AM, kobe.free.wo...@gmail.com <kobe.free.wo...@gmail.com> wrote: > 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 "query" and "index" analyzers? > > As per my scenario, when I search for "INTL", I want SOLR to return both the > records containing string like "INTL" and "INT'L". > > Please do suggest me other alternatives to achieve this. > > Thanks! > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Search-with-punctuations-tp4077510p4077973.html > Sent from the Solr - User mailing list archive at Nabble.com.