public class SolrQueryParser
extends org.apache.lucene.queryparser.classic.QueryParser
jj_nt, token, token_source
AND_OPERATOR, OR_OPERATOR
_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 |
---|
SolrQueryParser(AbstractSchemaMapper mapper,
org.apache.lucene.util.Version matchVersion,
java.lang.String f,
org.apache.lucene.analysis.Analyzer a)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getQueryString(org.apache.lucene.search.Query query)
I really didn't want to write this.
|
Clause, Conjunction, disable_tracing, enable_tracing, generateParseException, getNextToken, getToken, Modifiers, Query, ReInit, ReInit, Term, TopLevelQuery
escape, getAllowLeadingWildcard, getAnalyzeRangeTerms, getAutoGeneratePhraseQueries, getDateResolution, getDefaultOperator, getField, getFuzzyMinSim, getFuzzyPrefixLength, getLocale, getLowercaseExpandedTerms, getMaxDeterminizedStates, getMultiTermRewriteMethod, getPhraseSlop, getTimeZone, init, parse, setAllowLeadingWildcard, setAnalyzeRangeTerms, setAutoGeneratePhraseQueries, setDateResolution, setDateResolution, setDefaultOperator, setFuzzyMinSim, setFuzzyPrefixLength, setLocale, setLowercaseExpandedTerms, setMaxDeterminizedStates, setMultiTermRewriteMethod, setPhraseSlop, setTimeZone
createBooleanQuery, createBooleanQuery, createMinShouldMatchQuery, createPhraseQuery, createPhraseQuery, getAnalyzer, getEnablePositionIncrements, setAnalyzer, setEnablePositionIncrements
public SolrQueryParser(AbstractSchemaMapper mapper, org.apache.lucene.util.Version matchVersion, java.lang.String f, org.apache.lucene.analysis.Analyzer a)
matchVersion
- lucene versionf
- the querya
- the analyzermapper
- the schema mapperpublic static java.lang.String getQueryString(org.apache.lucene.search.Query query)
query
- the query"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"