Hi,

Thank you Underwood.
That still not come up with the solution...doing the boolean operation for
every query (query AND (isAZero OR isBZero) ) if I have the boolean field?
***Adding boolean need largely update the document structure that may not be
preferred...can Solr generate this field for me?

Thank you,
Vinci


Walter Underwood wrote:
> 
> This would be trivial if you also stored boolean fields for
> aiszero and biszero. That would also be fast, I expect.
> 
> wunder
> 
> On 4/8/08 11:53 PM, "Vinci" <[EMAIL PROTECTED]> wrote:
> 
>> 
>> Hi all, 
>> 
>> I want to limit the search result by 2 numerical field, A and B, where
>> Solr
>> return the result only value in field A or B is non-zero. Does it
>> possible
>> or I need to change the document and schema? or I need to change the
>> schema
>> as well as the query?
>> 
>> Thank you,
>> Vinci
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Return-the-result-only-field-A-or-field-B-is-non-zero--tp16580681p16601353.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to