|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.lucene.benchmark.quality.utils.SimpleQQParser
public 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.
| Constructor Summary | |
|---|---|
SimpleQQParser(String[] qqNames,
String indexField)
Constructor of a simple qq parser. |
|
SimpleQQParser(String qqName,
String indexField)
Constructor of a simple qq parser. |
|
| Method Summary | |
|---|---|
Query |
parse(QualityQuery qq)
Parse a given QualityQuery into a Lucene query. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleQQParser(String[] qqNames,
String indexField)
qqNames - name-value pairs of quality query to use for creating the queryindexField - corresponding index field
public SimpleQQParser(String qqName,
String indexField)
qqName - name-value pair of quality query to use for creating the queryindexField - corresponding index field| Method Detail |
|---|
public Query parse(QualityQuery qq)
throws ParseException
QualityQueryParser
parse in interface QualityQueryParserqq - the quality query to be parsed.
ParseException - if parsing failed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||