Best way to Use SHOULD and MUST Clauses

2011-02-24 Thread Vaijanath Rao
Hi All, I need to create a boolean query with MUST clause as well as SHOULD Clause. The result I get is the one which has MUST Clause but there are no SHOULD Clause present. I need something like the following +term:abc +loc:nyc and one of the ngrams for spell check like spell:co, spell:cor and so

Re: Best way to Use SHOULD and MUST Clauses

2011-02-24 Thread Vaijanath Rao
Hi All, Sorry just ignore this mail, did not realize I was hitting a different index and looking at different index all together. It's working like it should be. --Thanks and Regards Vaijanath N. Rao On Fri, Feb 25, 2011 at 10:46 AM, Vaijanath Rao wrote: > Hi All, > > I ne

Re: Reciprocal Rank Fusion (RRF)

2023-03-31 Thread Vaijanath Rao
We implemented it as a sort function instead of Q-parser. It was easier and speed wise more efficient. --Thanks and Regards Vaijanath On Fri, Mar 31, 2023 at 8:23 AM Dan Rosher wrote: > Hi, > > Would anyone have an idea of how one might implement Reciprocal Rank Fusion > (RRF) with existing qpa

Re: Reciprocal Rank Fusion (RRF)

2023-04-01 Thread Vaijanath Rao
Sat, Apr 1, 2023 at 1:33 AM Dan Rosher wrote: > Hi Vaijanath, > > Was it a custom rank function, or custom rrf function for the sorting? Are > you able to provide an example? > > Many thanks, > Dan > > On Fri, 31 Mar 2023 at 17:42, Vaijanath Rao wrote: > > >

How to get matched terms

2010-01-28 Thread Vaijanath Rao
Hi All, What is the simplest way of getting the matched terms of the query with respect to the document. So for example let's say a document has field X and the contains of the field are "a b c" now when I do a search for 'b c'. The document will be returned I want to get back the terms that this