Re: Returning both partial and complete match results in solr

2013-06-18 Thread Toke Eskildsen
On Tue, 2013-06-18 at 12:17 +0200, Prathik Puthran wrote: > The 2nd query returns the complete matches as well. So I will have to > filter out the complete matches from the partial match results. Without testing: (Brad OR Pitt) NOT (Brad AND Pitt) Although that does require you to parse the query

Re: Returning both partial and complete match results in solr

2013-06-18 Thread Prathik Puthran
The 2nd query returns the complete matches as well. So I will have to filter out the complete matches from the partial match results. On Tue, Jun 18, 2013 at 3:31 PM, Upayavira wrote: > With two queries. > > I'm not sure there's another way to do it. Unless you were prepared to > get coding, an

Re: Returning both partial and complete match results in solr

2013-06-18 Thread Upayavira
With two queries. I'm not sure there's another way to do it. Unless you were prepared to get coding, and implement another SearchComponent, but given that you can achieve it with two queries, that seems overkill to me. Upayavira On Tue, Jun 18, 2013, at 10:59 AM, Prathik Puthran wrote: > Hi, >

Returning both partial and complete match results in solr

2013-06-18 Thread Prathik Puthran
Hi, I wanted to know if it is possible to tweak solr to return the results of both complete and partial query matches. For eg: If the search query is "Brad Pitt" and if the query parser is "AND" Solr returns all documents indexed against the term "Brad Pitt". If the query parser is "OR" Solr retu