A query that wraps a filter and simply returns a constant score equal to the
query boost for every document in the filter.
The ConstantScoreQuery..::..ConstantWeight type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ConstantScoreQuery..::..ConstantWeight | Initializes a new instance of the ConstantScoreQuery..::..ConstantWeight class |
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Explain | (Overrides Weight..::..Explain(IndexReader, Int32).) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetQuery | (Overrides Weight..::..GetQuery()()()().) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetValue | (Overrides Weight..::..GetValue()()()().) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Normalize | (Overrides Weight..::..Normalize(Single).) | |
Scorer | (Overrides Weight..::..Scorer(IndexReader, Boolean, Boolean).) | |
ScoresDocsOutOfOrder | Returns true iff this implementation scores docs only out of order. This
method is used in conjunction with {@link Collector}'s
{@link Collector#AcceptsDocsOutOfOrder() acceptsDocsOutOfOrder} and
{@link #Scorer(Lucene.Net.Index.IndexReader, boolean, boolean)} to
create a matching {@link Scorer} instance for a given {@link Collector}, or
vice versa.
NOTE: the default implementation returns (Inherited from Weight.)CopyC# false CopyC# Scorer | |
SumOfSquaredWeights | (Overrides Weight..::..SumOfSquaredWeights()()()().) | |
ToString | (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
Enclosing_Instance |