Show / Hide Table of Contents

    Class SimpleTerm

    Base class for queries that expand to sets of simple terms.

    Inheritance
    System.Object
    SrndQuery
    SimpleTerm
    SrndPrefixQuery
    SrndTermQuery
    SrndTruncQuery
    Implements
    IDistanceSubQuery
    IComparable<SimpleTerm>
    Inherited Members
    SrndQuery.IsWeighted
    SrndQuery.Weight
    SrndQuery.WeightString
    SrndQuery.WeightOperator
    SrndQuery.WeightToString(StringBuilder)
    SrndQuery.MakeLuceneQueryField(String, BasicQueryFactory)
    SrndQuery.IsFieldsSubQueryAcceptable
    SrndQuery.Clone()
    SrndQuery.GetHashCode()
    SrndQuery.Equals(Object)
    SrndQuery.TheEmptyLcnQuery
    Namespace: Lucene.Net.QueryParsers.Surround.Query
    Assembly: Lucene.Net.QueryParser.dll
    Syntax
    public abstract class SimpleTerm : SrndQuery, IDistanceSubQuery, IComparable<SimpleTerm>

    Constructors

    | Improve this Doc View Source

    SimpleTerm(Boolean)

    Declaration
    public SimpleTerm(bool q)
    Parameters
    Type Name Description
    System.Boolean q

    Properties

    | Improve this Doc View Source

    FieldOperator

    Declaration
    public virtual string FieldOperator { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    Quote

    Declaration
    public virtual string Quote { get; }
    Property Value
    Type Description
    System.String

    Methods

    | Improve this Doc View Source

    AddSpanQueries(SpanNearClauseFactory)

    Declaration
    public virtual void AddSpanQueries(SpanNearClauseFactory sncf)
    Parameters
    Type Name Description
    SpanNearClauseFactory sncf
    | Improve this Doc View Source

    CompareTo(SimpleTerm)

    Declaration
    public int CompareTo(SimpleTerm ost)
    Parameters
    Type Name Description
    SimpleTerm ost
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    DistanceSubQueryNotAllowed()

    Declaration
    public virtual string DistanceSubQueryNotAllowed()
    Returns
    Type Description
    System.String
    | Improve this Doc View Source

    MakeLuceneQueryFieldNoBoost(String, BasicQueryFactory)

    Declaration
    public override Search.Query MakeLuceneQueryFieldNoBoost(string fieldName, BasicQueryFactory qf)
    Parameters
    Type Name Description
    System.String fieldName
    BasicQueryFactory qf
    Returns
    Type Description
    Search.Query
    Overrides
    SrndQuery.MakeLuceneQueryFieldNoBoost(String, BasicQueryFactory)
    | Improve this Doc View Source

    SuffixToString(StringBuilder)

    Declaration
    protected virtual void SuffixToString(StringBuilder r)
    Parameters
    Type Name Description
    StringBuilder r
    | Improve this Doc View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    SrndQuery.ToString()
    | Improve this Doc View Source

    ToStringUnquoted()

    Declaration
    public abstract string ToStringUnquoted()
    Returns
    Type Description
    System.String
    | Improve this Doc View Source

    VisitMatchingTerms(IndexReader, String, SimpleTerm.IMatchingTermVisitor)

    Declaration
    public abstract void VisitMatchingTerms(IndexReader reader, string fieldName, SimpleTerm.IMatchingTermVisitor mtv)
    Parameters
    Type Name Description
    IndexReader reader
    System.String fieldName
    SimpleTerm.IMatchingTermVisitor mtv

    Implements

    IDistanceSubQuery
    IComparable<>
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)