public class QueryParserSettings
extends java.lang.Object
MapperQueryParser
Constructor and Description |
---|
QueryParserSettings(java.lang.String queryString) |
Modifier and Type | Method and Description |
---|---|
boolean |
allowLeadingWildcard() |
void |
allowLeadingWildcard(boolean allowLeadingWildcard) |
org.apache.lucene.analysis.Analyzer |
analyzer() |
boolean |
analyzeWildcard() |
void |
analyzeWildcard(boolean analyzeWildcard) |
boolean |
autoGeneratePhraseQueries() |
void |
autoGeneratePhraseQueries(boolean autoGeneratePhraseQueries) |
void |
defaultAnalyzer(org.apache.lucene.analysis.Analyzer analyzer) |
java.lang.String |
defaultField() |
void |
defaultField(java.lang.String defaultField) |
org.apache.lucene.queryparser.classic.QueryParser.Operator |
defaultOperator() |
void |
defaultOperator(org.apache.lucene.queryparser.classic.QueryParser.Operator defaultOperator) |
void |
defaultQuoteAnalyzer(org.apache.lucene.analysis.Analyzer quoteAnalyzer) |
boolean |
enablePositionIncrements() |
void |
enablePositionIncrements(boolean enablePositionIncrements) |
java.util.Map<java.lang.String,java.lang.Float> |
fieldsAndWeights() |
void |
fieldsAndWeights(java.util.Map<java.lang.String,java.lang.Float> fieldsAndWeights) |
boolean |
forceAnalyzer() |
void |
forceAnalyzer(org.apache.lucene.analysis.Analyzer analyzer) |
boolean |
forceQuoteAnalyzer() |
void |
forceQuoteAnalyzer(org.apache.lucene.analysis.Analyzer quoteAnalyzer) |
Fuzziness |
fuzziness() |
void |
fuzziness(Fuzziness fuzziness) |
int |
fuzzyMaxExpansions() |
void |
fuzzyMaxExpansions(int fuzzyMaxExpansions) |
int |
fuzzyPrefixLength() |
void |
fuzzyPrefixLength(int fuzzyPrefixLength) |
org.apache.lucene.search.MultiTermQuery.RewriteMethod |
fuzzyRewriteMethod() |
void |
fuzzyRewriteMethod(org.apache.lucene.search.MultiTermQuery.RewriteMethod fuzzyRewriteMethod) |
boolean |
lenient() |
void |
lenient(boolean lenient) |
int |
maxDeterminizedStates() |
void |
maxDeterminizedStates(int maxDeterminizedStates) |
int |
phraseSlop() |
void |
phraseSlop(int phraseSlop) |
java.lang.String |
queryString() |
org.apache.lucene.analysis.Analyzer |
quoteAnalyzer() |
java.lang.String |
quoteFieldSuffix() |
void |
quoteFieldSuffix(java.lang.String quoteFieldSuffix) |
org.apache.lucene.search.MultiTermQuery.RewriteMethod |
rewriteMethod() |
void |
rewriteMethod(org.apache.lucene.search.MultiTermQuery.RewriteMethod rewriteMethod) |
boolean |
splitOnWhitespace() |
void |
splitOnWhitespace(boolean value) |
float |
tieBreaker() |
void |
tieBreaker(float tieBreaker) |
org.joda.time.DateTimeZone |
timeZone() |
void |
timeZone(org.joda.time.DateTimeZone timeZone) |
boolean |
useDisMax() |
void |
useDisMax(boolean useDisMax) |
public java.lang.String queryString()
public java.lang.String defaultField()
public void defaultField(java.lang.String defaultField)
public java.util.Map<java.lang.String,java.lang.Float> fieldsAndWeights()
public void fieldsAndWeights(java.util.Map<java.lang.String,java.lang.Float> fieldsAndWeights)
public org.apache.lucene.queryparser.classic.QueryParser.Operator defaultOperator()
public void defaultOperator(org.apache.lucene.queryparser.classic.QueryParser.Operator defaultOperator)
public boolean autoGeneratePhraseQueries()
public void autoGeneratePhraseQueries(boolean autoGeneratePhraseQueries)
public int maxDeterminizedStates()
public void maxDeterminizedStates(int maxDeterminizedStates)
public boolean allowLeadingWildcard()
public void allowLeadingWildcard(boolean allowLeadingWildcard)
public boolean enablePositionIncrements()
public void enablePositionIncrements(boolean enablePositionIncrements)
public int phraseSlop()
public void phraseSlop(int phraseSlop)
public int fuzzyPrefixLength()
public void fuzzyPrefixLength(int fuzzyPrefixLength)
public int fuzzyMaxExpansions()
public void fuzzyMaxExpansions(int fuzzyMaxExpansions)
public org.apache.lucene.search.MultiTermQuery.RewriteMethod fuzzyRewriteMethod()
public void fuzzyRewriteMethod(org.apache.lucene.search.MultiTermQuery.RewriteMethod fuzzyRewriteMethod)
public void defaultAnalyzer(org.apache.lucene.analysis.Analyzer analyzer)
public void forceAnalyzer(org.apache.lucene.analysis.Analyzer analyzer)
public org.apache.lucene.analysis.Analyzer analyzer()
public boolean forceAnalyzer()
public void defaultQuoteAnalyzer(org.apache.lucene.analysis.Analyzer quoteAnalyzer)
public void forceQuoteAnalyzer(org.apache.lucene.analysis.Analyzer quoteAnalyzer)
public org.apache.lucene.analysis.Analyzer quoteAnalyzer()
public boolean forceQuoteAnalyzer()
public boolean analyzeWildcard()
public void analyzeWildcard(boolean analyzeWildcard)
public org.apache.lucene.search.MultiTermQuery.RewriteMethod rewriteMethod()
public void rewriteMethod(org.apache.lucene.search.MultiTermQuery.RewriteMethod rewriteMethod)
public void quoteFieldSuffix(java.lang.String quoteFieldSuffix)
public java.lang.String quoteFieldSuffix()
public void lenient(boolean lenient)
public boolean lenient()
public float tieBreaker()
public void tieBreaker(float tieBreaker)
public boolean useDisMax()
public void useDisMax(boolean useDisMax)
public void timeZone(org.joda.time.DateTimeZone timeZone)
public org.joda.time.DateTimeZone timeZone()
public void fuzziness(Fuzziness fuzziness)
public Fuzziness fuzziness()
public void splitOnWhitespace(boolean value)
public boolean splitOnWhitespace()