lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clemens Wyss <clemens...@mysign.ch>
Subject negative wildcard query
Date Wed, 29 Jun 2011 15:25:37 GMT
Say I have a document with field "f1". How can I search Documents which have not "test" in
field "f"
I tried:
-f: *test*
f: -*test*
f: NOT *test*

but no luck. Using WildCardQuery class...
Any advices?

Thx
Clemens

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message