KeywordQuery Class |
Namespace: Ingeniux.CMS.Assets.Search
The KeywordQuery type exposes the following members.
Name | Description | |
---|---|---|
KeywordQuery | Initializes a new instance of the KeywordQuery class |
Name | Description | |
---|---|---|
Boost | 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.) | |
Clauses | Returns the list of clauses in this query. (Inherited from BooleanQuery.) | |
Keyword | ||
MinimumNumberShouldMatch |
Specifies a minimum number of the optional BooleanClauses
which must be satisfied.
(Inherited from BooleanQuery.)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. |
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.) |