Re: Search with punctuations

2013-07-17 Thread Jack Krupansky
...@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,

Re: Search with punctuations

2013-07-17 Thread kobe.free.wo...@gmail.com
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

Re: Search with punctuations

2013-07-15 Thread Erick Erickson
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

Re: Search with punctuations

2013-07-14 Thread kobe.free.wo...@gmail.com
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 "

Re: Search with punctuations

2013-07-13 Thread Erick Erickson
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