If your question is why are the queries
'(field:software field:engineer)'
and
'(+field:software +field:engineer)'
returning the same results, it could be because none of your documents have
*only* "software" *or* "engineer", i.e. they all have both words or neither.
You could tes
any help with this?
Chris Salem
440.946.5214 x5458
[EMAIL PROTECTED]
- Forwarded Message -
To: Mark Miller <[EMAIL PROTECTED]>
From: Chris Salem <[EMAIL PROTECTED]>
Sent: Wed 9/6/2006 3:58:49 PM
Subject: Re: parser question
its an index of 10 fields and about 10
yes its ANDing them. Doing the query 'software engineer', 'software OR
engineer', 'software AND engineer' all return the same results. the
generated queries for them respectively are '(field:software
field:engineer)', '(field:software field:engineer)' and
'(+field:software +field:engineer)'.
-
To: java-user@lucene.apache.org
From: Mark Miller <[EMAIL PROTECTED]>
Sent: Tue 9/5/2006 5:38:50 PM
Subject: Re: parser question
QueryParser.setDefaultOperator(Operator op)
Chris Salem wrote:
> With all the parsers I have tried a space in a query, such as doing a
search for "sales
iller <[EMAIL PROTECTED]>
Sent: Tue 9/5/2006 5:38:50 PM
Subject: Re: parser question
QueryParser.setDefaultOperator(Operator op)
Chris Salem wrote:
With all the parsers I have tried a space in a query, such as doing a search for
"sales manager", interprets the space as
QueryParser.setDefaultOperator(Operator op)
Chris Salem wrote:
With all the parsers I have tried a space in a query, such as doing a search for
"sales manager", interprets the space as an OR, is there a way to change it so
that it interprets a space as an AND?
Chris Salem
440.946.5214 x5458