Apache Lucene.Net 2.4.0 Class Library API

BooleanClause.Occur Members

BooleanClause.Occur overview

Public Static Fields

MUSTUse this operator for clauses that must appear in the matching documents.
MUST_NOTUse this operator for clauses that must not appear in the matching documents. Note that it is not possible to search for queries that only consist of a
MUST_NOT
clause.
SHOULDUse this operator for clauses that should appear in the matching documents. For a BooleanQuery with no
MUST
clauses one or more
SHOULD
clauses must match a document for the BooleanQuery to match.

Public Instance Methods

Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetRealObject (inherited from Parameter) 
GetType (inherited from Object)Gets the Type of the current instance.
ToString 

Protected Internal Instance Methods

ReadResolve (inherited from Parameter) Resolves the deserialized instance to the local reference for accurate equals() and == comparisons.

See Also

BooleanClause.Occur Class | Lucene.Net.Search Namespace