Show / Hide Table of Contents

    Class FieldsQuery

    Forms an OR query of the provided query across multiple fields.

    Inheritance
    System.Object
    SrndQuery
    FieldsQuery
    Inherited Members
    SrndQuery.IsWeighted
    SrndQuery.Weight
    SrndQuery.WeightString
    SrndQuery.WeightOperator
    SrndQuery.WeightToString(StringBuilder)
    SrndQuery.MakeLuceneQueryField(String, BasicQueryFactory)
    SrndQuery.Clone()
    SrndQuery.GetHashCode()
    SrndQuery.Equals(Object)
    SrndQuery.TheEmptyLcnQuery
    Namespace: Lucene.Net.QueryParsers.Surround.Query
    Assembly: Lucene.Net.QueryParser.dll
    Syntax
    public class FieldsQuery : SrndQuery

    Constructors

    | Improve this Doc View Source

    FieldsQuery(SrndQuery, IList<String>, Char)

    Declaration
    public FieldsQuery(SrndQuery q, IList<string> fieldNames, char fieldOp)
    Parameters
    Type Name Description
    SrndQuery q
    IList<System.String> fieldNames
    System.Char fieldOp
    | Improve this Doc View Source

    FieldsQuery(SrndQuery, String, Char)

    Declaration
    public FieldsQuery(SrndQuery q, string fieldName, char fieldOp)
    Parameters
    Type Name Description
    SrndQuery q
    System.String fieldName
    System.Char fieldOp

    Properties

    | Improve this Doc View Source

    FieldNames

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

    FieldOperator

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

    IsFieldsSubQueryAcceptable

    Declaration
    public override bool IsFieldsSubQueryAcceptable { get; }
    Property Value
    Type Description
    System.Boolean
    Overrides
    SrndQuery.IsFieldsSubQueryAcceptable

    Methods

    | Improve this Doc View Source

    FieldNamesToString(StringBuilder)

    Declaration
    protected virtual void FieldNamesToString(StringBuilder r)
    Parameters
    Type Name Description
    StringBuilder r
    | 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

    MakeLuceneQueryNoBoost(BasicQueryFactory)

    Declaration
    public virtual Search.Query MakeLuceneQueryNoBoost(BasicQueryFactory qf)
    Parameters
    Type Name Description
    BasicQueryFactory qf
    Returns
    Type Description
    Search.Query
    | Improve this Doc View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    SrndQuery.ToString()
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)