lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sumanta Bhowmik" <sumanta.bhow...@guavus.com>
Subject Problem with NOT and OR Query
Date Tue, 16 Jun 2009 10:24:48 GMT
Hi

 

I found that a query "NOT num_pkts:1024  OR src_port:80" behaves the same as
"NOT num_pkts:1024  AND src_port:80". The actual query is

 

(start_utc:[1230748200 TO 1230768000] OR end_utc:[1230748200 TO 1230768000])
AND (num_pkts:1024  OR NOT num_bytes:40960) but it behaves as if it is

 

(start_utc:[1230748200 TO 1230768000] OR end_utc:[1230748200 TO 1230768000])
AND (num_pkts:1024  AND NOT num_bytes:40960).

 

Is this a known issue?

 

 

Is there a workaround to this problem?

 

Thanks

Sumanta


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message