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.
Implements
Inherited Members
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 |
Returns
Type | Description |
---|---|
Query |