Re: unable to get the same results for ab and a b due to whitespace in solr

2013-02-10 Thread Erick Erickson
Try adding debug=query to your query. You haven't given us the expansion in your synonyms file so it's really hard to say. I suspect from the very fragmentary problem statement that when you query an a b, you're getting documents that have either a or b in them, which is probably entirely separate

unable to get the same results for ab and a b due to whitespace in solr

2013-02-08 Thread soumya vinukonda
Hi All, I have a synonyms.txt file where ab should give same result as a b . but when i search ab it gives 4 results and a b gives 104 results. I tried giving a+b but i donno how to give the + throug schema.xml . Please help. I tried giving expand= false and expand =false when doing indexing