public class OLuceneMultiFieldQueryParser
extends org.apache.lucene.queryparser.classic.MultiFieldQueryParser
boosts, fields
DEFAULT_SPLIT_ON_WHITESPACE, jj_nt, token, token_source
AND_OPERATOR, field, OR_OPERATOR
analyzer, autoGenerateMultiTermSynonymsPhraseQuery, enableGraphQueries, enablePositionIncrements
_ESCAPED_CHAR, _NUM_CHAR, _QUOTED_CHAR, _TERM_CHAR, _TERM_START_CHAR, _WHITESPACE, AND, BAREOPER, Boost, CARAT, COLON, DEFAULT, EOF, FUZZY_SLOP, LPAREN, MINUS, NOT, NUMBER, OR, PLUS, PREFIXTERM, QUOTED, Range, RANGE_GOOP, RANGE_QUOTED, RANGE_TO, RANGEEX_END, RANGEEX_START, RANGEIN_END, RANGEIN_START, REGEXPTERM, RPAREN, STAR, TERM, tokenImage, WILDTERM
Constructor and Description |
---|
OLuceneMultiFieldQueryParser(Map<String,OType> types,
String[] fields,
org.apache.lucene.analysis.Analyzer analyzer) |
OLuceneMultiFieldQueryParser(Map<String,OType> types,
String[] fields,
org.apache.lucene.analysis.Analyzer analyzer,
Map<String,Float> boosts) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.lucene.search.Query |
getFieldQuery(String field,
String queryText,
boolean quoted) |
protected org.apache.lucene.search.Query |
getFieldQuery(String field,
String queryText,
int slop) |
protected org.apache.lucene.search.Query |
getRangeQuery(String field,
String part1,
String part2,
boolean startInclusive,
boolean endInclusive) |
getFuzzyQuery, getMultiFieldQuery, getPrefixQuery, getRegexpQuery, getWildcardQuery, parse, parse, parse
Clause, Conjunction, disable_tracing, enable_tracing, generateParseException, getNextToken, getSplitOnWhitespace, getToken, Modifiers, MultiTerm, Query, ReInit, ReInit, setAutoGeneratePhraseQueries, setSplitOnWhitespace, Term, TopLevelQuery
addClause, addMultiTermClauses, escape, getAllowLeadingWildcard, getAutoGeneratePhraseQueries, getBooleanQuery, getDateResolution, getDefaultOperator, getField, getFuzzyMinSim, getFuzzyPrefixLength, getLocale, getMaxDeterminizedStates, getMultiTermRewriteMethod, getPhraseSlop, getTimeZone, init, newBooleanClause, newFieldQuery, newFuzzyQuery, newMatchAllDocsQuery, newPrefixQuery, newRangeQuery, newRegexpQuery, newWildcardQuery, parse, setAllowLeadingWildcard, setDateResolution, setDateResolution, setDefaultOperator, setFuzzyMinSim, setFuzzyPrefixLength, setLocale, setMaxDeterminizedStates, setMultiTermRewriteMethod, setPhraseSlop, setTimeZone
add, analyzeBoolean, analyzeGraphBoolean, analyzeGraphPhrase, analyzeMultiBoolean, analyzeMultiPhrase, analyzePhrase, analyzeTerm, createBooleanQuery, createBooleanQuery, createFieldQuery, createFieldQuery, createMinShouldMatchQuery, createPhraseQuery, createPhraseQuery, createSpanQuery, getAnalyzer, getAutoGenerateMultiTermSynonymsPhraseQuery, getEnableGraphQueries, getEnablePositionIncrements, newBooleanQuery, newGraphSynonymQuery, newMultiPhraseQueryBuilder, newSynonymQuery, newTermQuery, setAnalyzer, setAutoGenerateMultiTermSynonymsPhraseQuery, setEnableGraphQueries, setEnablePositionIncrements
public OLuceneMultiFieldQueryParser(Map<String,OType> types, String[] fields, org.apache.lucene.analysis.Analyzer analyzer)
protected org.apache.lucene.search.Query getFieldQuery(String field, String queryText, int slop) throws org.apache.lucene.queryparser.classic.ParseException
getFieldQuery
in class org.apache.lucene.queryparser.classic.MultiFieldQueryParser
org.apache.lucene.queryparser.classic.ParseException
protected org.apache.lucene.search.Query getFieldQuery(String field, String queryText, boolean quoted) throws org.apache.lucene.queryparser.classic.ParseException
getFieldQuery
in class org.apache.lucene.queryparser.classic.MultiFieldQueryParser
org.apache.lucene.queryparser.classic.ParseException
protected org.apache.lucene.search.Query getRangeQuery(String field, String part1, String part2, boolean startInclusive, boolean endInclusive) throws org.apache.lucene.queryparser.classic.ParseException
getRangeQuery
in class org.apache.lucene.queryparser.classic.MultiFieldQueryParser
org.apache.lucene.queryparser.classic.ParseException
Copyright © 2009–2020 OrientDB. All rights reserved.