On Thu, Dec 11, 2008 at 11:33 AM, Yonik Seeley <[EMAIL PROTECTED]> wrote: > On Thu, Dec 11, 2008 at 11:24 AM, David Kaelbling > <[EMAIL PROTECTED]> wrote: >> Will https://issues.apache.org/jira/browse/LUCENE-1486 let people >> include NOT inside phrases? My customers would like to have queries >> like "copyright !mycompany"~2, that find any copyright clause except >> their own. > > MultiPhraseQuery doesn't have that capability, but you could easily > handle this specific query with > copyright -"copyright mycompany"~2
oops, sorry, that's actually not equivalent. I assume you want a document with "copyright mycomany zzz zzz zzzcopyright anotherco" to match. -Yonik --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]