KeywordQuery Methods |
The KeywordQuery type exposes the following members.
Name | Description | |
---|---|---|
Add(BooleanClause) | Adds a clause to a boolean query. (Inherited from BooleanQuery.) | |
Add(Query, Occur) | Adds a clause to a boolean query.
(Inherited from BooleanQuery.) | |
Clone | (Inherited from BooleanQuery.) | |
Combine | Expert: called when re-writing queries under MultiSearcher.
Create a single query suitable for use by all subsearchers (in 1-1
correspondence with queries). This is an optimization of the OR of
all queries. We handle the common optimization cases of equal
queries and overlapping clauses of boolean OR queries (as generated
by MultiTermQuery.rewrite()).
Be careful overriding this method as queries[0] determines which
method will be called and is not necessarily of the same type as
the other queries.
(Inherited from Query.) | |
CreateWeight | (Inherited from BooleanQuery.) | |
Equals | Returns true iff o is equal to this. (Inherited from BooleanQuery.) | |
ExtractTerms | (Inherited from BooleanQuery.) | |
GetClauses | Returns the set of clauses in this query. (Inherited from BooleanQuery.) | |
GetEnumerator |
Returns an iterator on the clauses in this query.
(Inherited from BooleanQuery.) | |
GetHashCode | Returns a hash code value for this object. (Inherited from BooleanQuery.) | |
GetSimilarity | (Inherited from BooleanQuery.) | |
IsCoordDisabled | Returns true iff Coord(Int32, Int32) is disabled in
scoring for this query instance.
(Inherited from BooleanQuery.) | |
Rewrite | (Inherited from BooleanQuery.) | |
ToString | Prints a query to a string. (Inherited from Query.) | |
ToString(String) | Prints a user-readable version of this query. (Inherited from BooleanQuery.) | |
Weight | Expert: Constructs and initializes a Weight for a top-level query. (Inherited from Query.) |