Click or drag to resize

KeywordQuery Properties


The KeywordQuery type exposes the following members.

Properties
  NameDescription
Public propertyBoost
Gets or 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. The boost is 1.0 by default.
(Inherited from Query.)
Public propertyClauses
Returns the list of clauses in this query.
(Inherited from BooleanQuery.)
Public propertyKeyword
Public propertyMinimumNumberShouldMatch
Specifies a minimum number of the optional BooleanClauses which must be satisfied.

By default no optional clauses are necessary for a match (unless there are no required clauses). If this method is used, then the specified number of clauses is required.

Use of this method is totally independent of specifying that any specific clauses are required (or prohibited). This number will only be compared against the number of matching optional clauses.

(Inherited from BooleanQuery.)
Top
See Also