lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Bell <arach...@gmail.com>
Subject Types of Queries
Date Fri, 29 Mar 2013 20:06:00 GMT
Hi,

I've done a few experiments in Lucene 4.2 with several different query
types:

TermQuery
TermRangeQuery
NumericRangeQuery
WildcardQuery
PrefixQuery
MatchAllDocsQuery

I think I more or less understand their behavior.

But I'm missing something obvious: how does one do "not equal" type
queries? For example, suppose I want to find all documents whose "name"
field is not equal to a given value...

Thank you.

-Paul

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