A rewrite method that tries to pick the best
constant-score rewrite method based on term and
document counts from the query. If both the number of
terms and documents is small enough, then {@link
#CONSTANT_SCORE_BOOLEAN_QUERY_REWRITE} is used.
Otherwise, {@link #CONSTANT_SCORE_FILTER_REWRITE} is
used.
Namespace: Lucene.Net.SearchAssembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
C# |
---|
[SerializableAttribute] public class ConstantScoreAutoRewrite : MultiTermQuery..::..RewriteMethod |
Visual Basic |
---|
<SerializableAttribute> _ Public Class ConstantScoreAutoRewrite _ Inherits MultiTermQuery..::..RewriteMethod |
Visual C++ |
---|
[SerializableAttribute] public ref class ConstantScoreAutoRewrite : public MultiTermQuery..::..RewriteMethod |
Inheritance Hierarchy
System..::..Object
Lucene.Net.Search..::..MultiTermQuery..::..RewriteMethod
Lucene.Net.Search..::..MultiTermQuery..::..ConstantScoreAutoRewrite
Lucene.Net.Search..::..MultiTermQuery..::..AnonymousClassConstantScoreAutoRewrite
Lucene.Net.Search..::..MultiTermQuery..::..RewriteMethod
Lucene.Net.Search..::..MultiTermQuery..::..ConstantScoreAutoRewrite
Lucene.Net.Search..::..MultiTermQuery..::..AnonymousClassConstantScoreAutoRewrite