lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Clemens Marschner" <c...@lanlab.de>
Subject Re: AND on two weighted fields
Date Wed, 21 Aug 2002 10:47:31 GMT
No, since it has to be possible that one or more of the tokens occur in only
one field. That means with the current query parser I can only simulate that
with

(+((field1:(+token1 +token2 +token3)^2 +field2:(token1 token2 token3)))
(+((field1:(token1 +token2 +token3)^2 +field2:(+token1 token2 token3)))
(+((field1:(+token1 token2 +token3)^2 +field2:(token1 +token2 token3)))
...
(+((field1:(token1 token2 token3)^2 +field2:(+token1 +token2 +token3)))

Clemens


--
To unsubscribe, e-mail:   <mailto:lucene-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-dev-help@jakarta.apache.org>


Mime
View raw message