Re: search result not correct in solr

2014-04-30 Thread Erick Erickson
Neha: You _really_ need to get familiar with the admin/analysis page in the Solr admin UI. It shows you, step-by-step, what each tokenizer and filter in your analysis chain does. It'll save you a world of pain :). Best, Erick P.S. unless you care about a bunch of really gory detail, un-check the

Re: search result not correct in solr

2014-04-30 Thread Anshum Gupta
Hi Neha, There are a bunch of filters available and it wouldn't make sense to suggest anything unless we know what's the intention. As they say, if you don't know where you're going, any road will take you there. If you want the most basic cases of being able to search for standard terms in your

Re: search result not correct in solr

2014-04-30 Thread neha sinha
Hello Alex Yes I reindex completely. I am new to solr so donot have much idea of all the filters.Can u suggest some filters which i can try? -- View this message in context: http://lucene.472066.n3.nabble.com/search-result-not-correct-in-solr-tp4133841p4133861.html Sent from the Solr - User

Re: search result not correct in solr

2014-04-29 Thread Alexandre Rafalovitch
On Wed, Apr 30, 2014 at 1:29 PM, neha sinha wrote: > maxGramSize="15" side="front"/> > protected="protwords.txt" /> I think combining NGrams with Porter filters, especially in that order will do really weird things. Have you tried using the Admin console? You really wa

Re: search result not correct in solr

2014-04-29 Thread neha sinha
Thanks Alexandre..but still that doesn't help me I am doing keyword search for word "Ribbing" and i am getting those products also which have "R-B" or "RB" word in some other field.But when i am doing search for "Ribbin" i am getting correct search results. My field type is textfield.Please find

Re: search result not correct in solr

2014-04-29 Thread Alexandre Rafalovitch
Can't figure out the exact question. Need more specific example. However, if you look in Solr 4 Admin panel, there is analysis screen that shows you how the text is analyzed during indexing and during search. Putting your words there will show you the effect of various components in your type defin