[jira] Created: (LUCENE-1486) Wildcards, ORs etc inside Phrase queries

2008-12-10 Thread Mark Harwood (JIRA)
Wildcards, ORs etc inside Phrase queries Key: LUCENE-1486 URL: https://issues.apache.org/jira/browse/LUCENE-1486 Project: Lucene - Java Issue Type: Improvement Components: QueryParser Af

Re: [jira] Created: (LUCENE-1486) Wildcards, ORs etc inside Phrase queries

2008-12-10 Thread robert engels
If wildcards and fuzzyies are supported, why not range ? We have a custom "range in phrase" parser, and it works really well, but we would like to use standard Lucene is possible. On Dec 10, 2008, at 12:18 PM, Mark Harwood (JIRA) wrote: Wildcards, ORs etc inside Phrase queries -

Re: [jira] Created: (LUCENE-1486) Wildcards, ORs etc inside Phrase queries

2008-12-10 Thread markharw00d
>>If wildcards and fuzzyies are supported, why not range ? Because Ranges don't rewrite to a BooleanQuery full of TermQueries so I can easily inspect them. Unlike fuzzy/wildcard/boolean I suspect they are not that generally useful as part of phrase query expressions. Feel free to tinker with t

Re: [jira] Created: (LUCENE-1486) Wildcards, ORs etc inside Phrase queries

2008-12-11 Thread David Kaelbling
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. Currently searches like this hit on copyright only if mycompany doesn't appear anyw

Re: [jira] Created: (LUCENE-1486) Wildcards, ORs etc inside Phrase queries

2008-12-11 Thread Yonik Seeley
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.

Re: [jira] Created: (LUCENE-1486) Wildcards, ORs etc inside Phrase queries

2008-12-11 Thread mark harwood
ginal Message From: Yonik Seeley <[EMAIL PROTECTED]> To: java-dev@lucene.apache.org Cc: David Kaelbling <[EMAIL PROTECTED]> Sent: Thursday, 11 December, 2008 16:33:39 Subject: Re: [jira] Created: (LUCENE-1486) Wildcards, ORs etc inside Phrase queries On Thu, Dec 11, 2008 at 11:24 AM,

Re: [jira] Created: (LUCENE-1486) Wildcards, ORs etc inside Phrase queries

2008-12-11 Thread Yonik Seeley
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 >>

Re: [jira] Created: (LUCENE-1486) Wildcards, ORs etc inside Phrase queries

2008-12-11 Thread David Kaelbling
Thanks! But not quite -- that query doesn't hit on a document that contains: copyright 2008 mycompany blah blah blah blah copyright 2008 yourcompany - David On Thu, 2008-12-11 at 11:33 -0500, Yonik Seeley wrote: > On Thu, Dec 11, 2008 at 11:24 AM, David Kaelbling > <[EMAI