A clause in a BooleanQuery.
The BooleanClause..::..Occur type exposes the following members.
Methods
Name | Description | |
---|---|---|
Equals | Resolves the deserialized instance to the local reference for accurate
equals() and == comparisons.
(Inherited from Parameter.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | (Overrides Parameter..::..ToString()()()().) |
Fields
Name | Description | |
---|---|---|
MUST | Use this operator for clauses that must appear in the matching documents. | |
MUST_NOT | Use 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 CopyC# MUST_NOT | |
SHOULD | Use this operator for clauses that should appear in the
matching documents. For a BooleanQuery with no CopyC# MUST CopyC# SHOULD |