Class TermCollectingRewrite<Q>
Inheritance
System.Object
TermCollectingRewrite<Q>
Inherited Members
Namespace: Lucene.Net.Search
Assembly: Lucene.Net.dll
Syntax
public abstract class TermCollectingRewrite<Q> : MultiTermQuery.RewriteMethod where Q : Query
Type Parameters
Name | Description |
---|---|
Q |
Methods
| Improve this Doc View SourceAddClause(Q, Term, Int32, Single)
Add a MultiTermQuery term to the top-level query
Declaration
protected void AddClause(Q topLevel, Term term, int docCount, float boost)
Parameters
Type | Name | Description |
---|---|---|
Q | topLevel | |
Term | term | |
System.Int32 | docCount | |
System.Single | boost |
AddClause(Q, Term, Int32, Single, TermContext)
Declaration
protected abstract void AddClause(Q topLevel, Term term, int docCount, float boost, TermContext states)
Parameters
Type | Name | Description |
---|---|---|
Q | topLevel | |
Term | term | |
System.Int32 | docCount | |
System.Single | boost | |
TermContext | states |
GetTopLevelQuery()
Return a suitable top-level Query for holding all expanded terms.
Declaration
protected abstract Q GetTopLevelQuery()
Returns
Type | Description |
---|---|
Q |