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 QueryParser using StandardAnalyzer.
Inheritance
System.Object
SimpleQQParser
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Lucene.Net.Benchmarks.Quality.Utils
Assembly: Lucene.Net.Benchmark.dll
Syntax
public class SimpleQQParser : IQualityQueryParser
Constructors
| Improve this Doc View SourceSimpleQQParser(String, String)
Constructor of a simple qq parser.
Declaration
public SimpleQQParser(string qqName, string indexField)
Parameters
Type | Name | Description |
---|---|---|
System.String | qqName | Name-value pair of quality query to use for creating the query. |
System.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 |
---|---|---|
System.String[] | qqNames | Name-value pairs of quality query to use for creating the query. |
System.String | indexField | Corresponding index field. |
Methods
| Improve this Doc View SourceParse(QualityQuery)
Declaration
public virtual Query Parse(QualityQuery qq)
Parameters
Type | Name | Description |
---|---|---|
QualityQuery |
Returns
Type | Description |
---|---|
Query |