RE: Search a Phrase

2013-02-10 Thread Pragyanshis Pattanaik
Thanks Upayavira . Really helpful. Cheers,Pragyanshis > From: u...@odoko.co.uk > To: solr-user@lucene.apache.org > Subject: Re: Search a Phrase > Date: Sun, 10 Feb 2013 20:39:23 + > > If you have a field of type 'text_general', searching for: > > q

Re: Search a Phrase

2013-02-10 Thread Upayavira
If you have a field of type 'text_general', searching for: q=good microwave Will find any documents with either 'good' or 'microwave' in them. Searching for: q="good microwave" will find any documents that contain both terms next to each other. q="good microwave"^5 good microwave will f

RE: Search a Phrase

2013-02-10 Thread Pragyanshis Pattanaik
Hi, I did one work around to get all documents that contains "Good" or "Microwave" or "Good Microwave",if i will pass "Good Microwave" as q parameter please guide me wheather i am going in right direction or not. I defined two field type(text_general and shingleString) in my schema like below