The SpanWeight type exposes the following members.

Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodExplain (Overrides Weight..::..Explain(IndexReader, Int32).)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetQuery (Overrides Weight..::..GetQuery()()()().)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetValue (Overrides Weight..::..GetValue()()()().)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodNormalize (Overrides Weight..::..Normalize(Single).)
Public methodScorer (Overrides Weight..::..Scorer(IndexReader, Boolean, Boolean).)
Public methodScoresDocsOutOfOrder
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

CopyC#
false
, i.e. the
CopyC#
Scorer
scores documents in-order.
(Inherited from Weight.)
Public methodSumOfSquaredWeights (Overrides Weight..::..SumOfSquaredWeights()()()().)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

See Also