GetMaxClauseCount | Return the maximum number of clauses permitted, 1024 by default. Attempts to add more than the permitted number of clauses cause {@link TooManyClauses} to be thrown. |
GetUseScorer14 | |
SetMaxClauseCount | |
SetUseScorer14 |
BooleanQuery | Overloaded. Initializes a new instance of the BooleanQuery class. |
Add | Overloaded. Adds a clause to a boolean query. |
Clone | |
Combine (inherited from Query) | 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() and RangeQuery.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. |
Equals | Returns true iff ois equal to this. |
ExtractTerms | |
GetBoost (inherited from Query) | Gets the boost for this clause. Documents matching this clause will (in addition to the normal weightings) have their score multiplied by b. The boost is 1.0 by default. |
GetClauses | Returns the set of clauses in this query. |
GetHashCode | Returns a hash code value for this object. |
GetMinimumNumberShouldMatch | Gets the minimum number of the optional BooleanClauses which must be satisifed. |
GetSimilarity | |
GetType (inherited from Object) | Gets the Type of the current instance. |
IsCoordDisabled | Returns true iff {@link Similarity#Coord(int,int)} is disabled in scoring for this query instance. |
Rewrite | |
SetBoost (inherited from Query) | Sets the boost for this query clause to b. Documents matching this clause will (in addition to the normal weightings) have their score multiplied by b. |
SetMinimumNumberShouldMatch | Specifies a minimum number of the optional BooleanClauses which must be satisifed. By default no optional clauses are neccessary for a match (unless there are no required clauses). If this method is used, then the specified numebr of clauses is required. Use of this method is totally independant of specifying that any specific clauses are required (or prohibited). This number will only be compared against the number of matching optional clauses. EXPERT NOTE: Using this method will force the use of BooleanWeight2, regardless of wether setUseScorer14(true) has been called. |
ToString | Overloaded. Prints a user-readable version of this query. |
ToString (inherited from Query) | Overloaded. Prints a query to a string. |
Weight (inherited from Query) | Expert: Constructs and initializes a Weight for a top-level query. |
Finalize (inherited from Object) | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. |
MemberwiseClone (inherited from Object) | Creates a shallow copy of the current Object. |