Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class FieldQuery

    FieldQuery breaks down query object into terms/phrases and keeps them in a FieldQuery.QueryPhraseMap structure.

    Inheritance
    System.Object
    FieldQuery
    Inherited Members
    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.VectorHighlight
    Assembly: Lucene.Net.Highlighter.dll
    Syntax
    public class FieldQuery

    Methods

    | Improve this Doc View Source

    ApplyParentBoost(Query, Query)

    Push parent's boost into a clone of query if parent has a non 1 boost.

    Declaration
    protected virtual Query ApplyParentBoost(Query query, Query parent)
    Parameters
    Type Name Description
    Lucene.Net.Search.Query query
    Lucene.Net.Search.Query parent
    Returns
    Type Description
    Lucene.Net.Search.Query
    | Improve this Doc View Source

    GetFieldTermMap(String, String)

    Declaration
    public virtual FieldQuery.QueryPhraseMap GetFieldTermMap(string fieldName, string term)
    Parameters
    Type Name Description
    System.String fieldName
    System.String term
    Returns
    Type Description
    FieldQuery.QueryPhraseMap

    QueryPhraseMap

    | Improve this Doc View Source

    SearchPhrase(String, IList<FieldTermStack.TermInfo>)

    Declaration
    public virtual FieldQuery.QueryPhraseMap SearchPhrase(string fieldName, IList<FieldTermStack.TermInfo> phraseCandidate)
    Parameters
    Type Name Description
    System.String fieldName
    System.Collections.Generic.IList<FieldTermStack.TermInfo> phraseCandidate
    Returns
    Type Description
    FieldQuery.QueryPhraseMap

    QueryPhraseMap

    • Improve this Doc
    • View Source
    Back to top Copyright © 2022 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.