Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class SrndPrefixQuery

    Query that matches string prefixes

    Inheritance
    object
    SrndQuery
    SimpleTerm
    SrndPrefixQuery
    Implements
    IDistanceSubQuery
    IComparable<SimpleTerm>
    Inherited Members
    SimpleTerm.Quote
    SimpleTerm.FieldOperator
    SimpleTerm.CompareTo(SimpleTerm)
    SimpleTerm.ToString()
    SimpleTerm.DistanceSubQueryNotAllowed()
    SimpleTerm.AddSpanQueries(SpanNearClauseFactory)
    SimpleTerm.MakeLuceneQueryFieldNoBoost(string, BasicQueryFactory)
    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
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Lucene.Net.QueryParsers.Surround.Query
    Assembly: Lucene.Net.QueryParser.dll
    Syntax
    public class SrndPrefixQuery : SimpleTerm, IDistanceSubQuery, IComparable<SimpleTerm>

    Constructors

    SrndPrefixQuery(string, bool, char)

    Query that matches string prefixes

    Declaration
    public SrndPrefixQuery(string prefix, bool quoted, char truncator)
    Parameters
    Type Name Description
    string prefix
    bool quoted
    char truncator

    Properties

    Prefix

    Query that matches string prefixes

    Declaration
    public virtual string Prefix { get; }
    Property Value
    Type Description
    string

    SuffixOperator

    Query that matches string prefixes

    Declaration
    public virtual char SuffixOperator { get; }
    Property Value
    Type Description
    char

    Methods

    GetLucenePrefixTerm(string)

    Query that matches string prefixes

    Declaration
    public virtual Term GetLucenePrefixTerm(string fieldName)
    Parameters
    Type Name Description
    string fieldName
    Returns
    Type Description
    Term

    SuffixToString(StringBuilder)

    Query that matches string prefixes

    Declaration
    protected override void SuffixToString(StringBuilder r)
    Parameters
    Type Name Description
    StringBuilder r
    Overrides
    SimpleTerm.SuffixToString(StringBuilder)

    ToStringUnquoted()

    Query that matches string prefixes

    Declaration
    public override string ToStringUnquoted()
    Returns
    Type Description
    string
    Overrides
    SimpleTerm.ToStringUnquoted()

    VisitMatchingTerms(IndexReader, string, IMatchingTermVisitor)

    Query that matches string prefixes

    Declaration
    public override void VisitMatchingTerms(IndexReader reader, string fieldName, SimpleTerm.IMatchingTermVisitor mtv)
    Parameters
    Type Name Description
    IndexReader reader
    string fieldName
    SimpleTerm.IMatchingTermVisitor mtv
    Overrides
    SimpleTerm.VisitMatchingTerms(IndexReader, string, SimpleTerm.IMatchingTermVisitor)

    Implements

    IDistanceSubQuery
    IComparable<T>
    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.