Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class TermCollectingRewrite<Q>

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

    | Improve this Doc View Source

    AddClause(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
    | Improve this Doc View Source

    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
    | Improve this Doc View Source

    GetTopLevelQuery()

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

    Declaration
    protected abstract Q GetTopLevelQuery()
    Returns
    Type Description
    Q
    • Improve this Doc
    • View Source
    Back to top Copyright © 2021 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.