Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class SimpleQQParser

    Simplistic quality query parser. A Lucene query is created by passing the value of the specified QualityQuery name-value pair(s) into a Lucene's Lucene.Net.QueryParsers.Classic.QueryParser using Lucene.Net.Analysis.Standard.StandardAnalyzer.

    Inheritance
    object
    SimpleQQParser
    Implements
    IQualityQueryParser
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Lucene.Net.Benchmarks.Quality.Utils
    Assembly: Lucene.Net.Benchmark.dll
    Syntax
    public class SimpleQQParser : IQualityQueryParser

    Constructors

    SimpleQQParser(string, string)

    Constructor of a simple qq parser.

    Declaration
    public SimpleQQParser(string qqName, string indexField)
    Parameters
    Type Name Description
    string qqName

    Name-value pair of quality query to use for creating the query.

    string indexField

    Corresponding index field.

    SimpleQQParser(string[], string)

    Constructor of a simple qq parser.

    Declaration
    public SimpleQQParser(string[] qqNames, string indexField)
    Parameters
    Type Name Description
    string[] qqNames

    Name-value pairs of quality query to use for creating the query.

    string indexField

    Corresponding index field.

    Methods

    Parse(QualityQuery)

    Simplistic quality query parser. A Lucene query is created by passing the value of the specified QualityQuery name-value pair(s) into a Lucene's Lucene.Net.QueryParsers.Classic.QueryParser using Lucene.Net.Analysis.Standard.StandardAnalyzer.

    Declaration
    public virtual Query Parse(QualityQuery qq)
    Parameters
    Type Name Description
    QualityQuery qq
    Returns
    Type Description
    Query
    See Also
    Parse(QualityQuery)

    Implements

    IQualityQueryParser
    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.