Re: Boolean expression for no terms OR matching a wildcard

2008-07-21 Thread Ronald Rudy
ing like this or you need "Query solution"? - Original Message From: Chris Hostetter <[EMAIL PROTECTED]> To: java-user@lucene.apache.org Sent: Saturday, 19 July, 2008 12:00:39 AM Subject: Re: Boolean expression for no terms OR matching a wildcard Maybe this is easier .

RE: Boolean expression for no terms OR matching a wildcard

2008-07-21 Thread Steven A Rowe
matching prefixes to this fiield an make your query work like > > "ALL_MATCH:800" and care not for the rest :) than yo would not need > > field1 at all for these queries > > > > you were looking for something like this or you need "Query solution"

Re: Boolean expression for no terms OR matching a wildcard

2008-07-20 Thread Ronald Rudy
riginal Message From: Chris Hostetter <[EMAIL PROTECTED]> To: java-user@lucene.apache.org Sent: Saturday, 19 July, 2008 12:00:39 AM Subject: Re: Boolean expression for no terms OR matching a wildcard : Maybe this is easier ... suppose what I'm indexing is a phone number, and :

Re: Boolean expression for no terms OR matching a wildcard

2008-07-18 Thread eks dev
Hostetter <[EMAIL PROTECTED]> > To: java-user@lucene.apache.org > Sent: Saturday, 19 July, 2008 12:00:39 AM > Subject: Re: Boolean expression for no terms OR matching a wildcard > > : Maybe this is easier ... suppose what I'm indexing is a phone number, and > : there are m

Re: Boolean expression for no terms OR matching a wildcard

2008-07-18 Thread Chris Hostetter
: Maybe this is easier ... suppose what I'm indexing is a phone number, and : there are multiple phone numbers for what I'm indexing under the same field : (phone) and I want the wildcard query to match only records that have either : no phone numbers at all OR where ALL phone numbers are in a spec

Re: Boolean expression for no terms OR matching a wildcard

2008-07-15 Thread Ronald Rudy
Thanks Chris (or if you prefer, Hoss) - I will definitely try that for matching no docs, but one of the problems I'm having is that I'm indexing multiple terms for one field and I need ALL the terms to match it. Maybe this is easier ... suppose what I'm indexing is a phone number, and the

Re: Boolean expression for no terms OR matching a wildcard

2008-07-15 Thread Chris Hostetter
Assuming i understand your question: the fact that your first clause is a wildcard query is irrelevant, to generalize your request you want a way to query for all docs which either match some sub query, or have no terms in the field at all. to find all docs with no terms for a given field, you

Re: Boolean expression for no terms OR matching a wildcard

2008-07-14 Thread Ron Rudy
Can I assume that since nobody replied to this that there's no way to perform this kind of search? What I think I need is two different types of conditions: 1) a wildcard conditional that is forced to match against all indexed values for a field 2) a conditional that matches when NO values at all