lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley" <>
Subject Re: XOR?
Date Wed, 16 Aug 2006 14:14:12 GMT
On 8/16/06, Fernando Mato Mira <> wrote:
>   How would one do a XOR query with Lucene?

There's not a specific XOR operation, but you shouldbe able to make it
out of AND, OR, and NOT.

+(A B) -(+A +B)

-Yonik Solr, the open-source Lucene search server

View raw message