Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class TermCollectingRewrite<Q>

    Inheritance
    object
    MultiTermQuery.RewriteMethod
    TermCollectingRewrite<Q>
    ConstantScoreAutoRewrite
    ScoringRewrite<Q>
    TopTermsRewrite<Q>
    Inherited Members
    MultiTermQuery.RewriteMethod.Rewrite(IndexReader, MultiTermQuery)
    MultiTermQuery.RewriteMethod.GetTermsEnum(MultiTermQuery, Terms, AttributeSource)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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

    AddClause(Q, Term, int, float)

    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
    int docCount
    float boost

    AddClause(Q, Term, int, float, TermContext)

    Declaration
    protected abstract void AddClause(Q topLevel, Term term, int docCount, float boost, TermContext states)
    Parameters
    Type Name Description
    Q topLevel
    Term term
    int docCount
    float boost
    TermContext states

    GetTopLevelQuery()

    Return a suitable top-level Query for holding all expanded terms.

    Declaration
    protected abstract Q GetTopLevelQuery()
    Returns
    Type Description
    Q
    Back to top Copyright © 2024 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.