Re: filter query: comparing values between fields

2007-04-12 Thread Chris Hostetter
: You know, that's ultimately what I have done. My thinking is that doing : field comparisons could be too intensive an operation anyway. It would be hard to do if you were willing to use the FieldCache for each of the fields, a FunctionQuery could be written for it fairly easily ... but i'm sure

Re: filter query: comparing values between fields

2007-04-12 Thread George Abraham
You know, that's ultimately what I have done. My thinking is that doing field comparisons could be too intensive an operation anyway. Thanks, George On 4/11/07, Yonik Seeley <[EMAIL PROTECTED]> wrote: On 4/11/07, George Abraham <[EMAIL PROTECTED]> wrote: > I am using the DisMaxRequestHandler.

Re: filter query: comparing values between fields

2007-04-11 Thread Yonik Seeley
On 4/11/07, George Abraham <[EMAIL PROTECTED]> wrote: I am using the DisMaxRequestHandler. Is there any way to use the fq param to compare two fields? Find all docs where fielda=fieldb is not currently supported (in Lucene or Solr), but it could be in the future if it solves a common enough pro

filter query: comparing values between fields

2007-04-11 Thread George Abraham
Hi all, I am using the DisMaxRequestHandler. Is there any way to use the fq param to compare two fields? For example, each of the documents in the index have two fields which are slightly related to each other within the context of the document; say these fields are: blah1 and blah2. When I do a s