Click or drag to resize

KeywordQuery Class


Inheritance Hierarchy
SystemObject
  Query
    BooleanQuery
      Ingeniux.CMS.Assets.SearchKeywordQuery

Namespace:  Ingeniux.CMS.Assets.Search
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.308
Syntax
public class KeywordQuery : BooleanQuery

The KeywordQuery type exposes the following members.

Constructors
  NameDescription
Public methodKeywordQuery
Initializes a new instance of the KeywordQuery class
Top
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
Methods
  NameDescription
Public methodAdd(BooleanClause)
Adds a clause to a boolean query.
(Inherited from BooleanQuery.)
Public methodAdd(Query, Occur)
Adds a clause to a boolean query.
(Inherited from BooleanQuery.)
Public methodClone (Inherited from BooleanQuery.)
Public methodCombine
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.)
Public methodCreateWeight (Inherited from BooleanQuery.)
Public methodEquals
Returns true iff o is equal to this.
(Inherited from BooleanQuery.)
Public methodExtractTerms (Inherited from BooleanQuery.)
Public methodGetClauses
Returns the set of clauses in this query.
(Inherited from BooleanQuery.)
Public methodGetEnumerator
Returns an iterator on the clauses in this query.
(Inherited from BooleanQuery.)
Public methodGetHashCode
Returns a hash code value for this object.
(Inherited from BooleanQuery.)
Public methodGetSimilarity (Inherited from BooleanQuery.)
Public methodIsCoordDisabled
Returns true iff Coord(Int32, Int32) is disabled in scoring for this query instance.
(Inherited from BooleanQuery.)
Public methodRewrite (Inherited from BooleanQuery.)
Public methodToString
Prints a query to a string.
(Inherited from Query.)
Public methodToString(String)
Prints a user-readable version of this query.
(Inherited from BooleanQuery.)
Public methodWeight
Expert: Constructs and initializes a Weight for a top-level query.
(Inherited from Query.)
Top
See Also