public class PrecedenceQueryParser extends StandardQueryParser
 This query parser works exactly as the standard query parser ( StandardQueryParser ), 
 except that it respect the boolean precedence, so <a AND b OR c AND d> is parsed to <(+a +b) (+c +d)>
 instead of <+a +b +c +d>.
 
 EXPERT: This class extends StandardQueryParser, but uses PrecedenceQueryNodeProcessorPipeline
 instead of StandardQueryNodeProcessorPipeline to process the query tree.
 
StandardQueryParser| Constructor and Description | 
|---|
PrecedenceQueryParser()  | 
PrecedenceQueryParser(Analyzer analyer)  | 
getAllowLeadingWildcard, getAnalyzer, getDateResolution, getDateResolutionMap, getDefaultOperator, getEnablePositionIncrements, getFieldsBoost, getFuzzyMinSim, getFuzzyPrefixLength, getLocale, getLowercaseExpandedTerms, getMultiFields, getMultiTermRewriteMethod, getNumericConfigMap, getPhraseSlop, getTimeZone, parse, setAllowLeadingWildcard, setAnalyzer, setDateResolution, setDateResolution, setDateResolutionMap, setDefaultOperator, setDefaultPhraseSlop, setEnablePositionIncrements, setFieldsBoost, setFuzzyMinSim, setFuzzyPrefixLength, setLocale, setLowercaseExpandedTerms, setMultiFields, setMultiTermRewriteMethod, setNumericConfigMap, setPhraseSlop, setTimeZone, toStringgetQueryBuilder, getQueryConfigHandler, getQueryNodeProcessor, getSyntaxParser, setQueryBuilder, setQueryConfigHandler, setQueryNodeProcessor, setSyntaxParserpublic PrecedenceQueryParser()
public PrecedenceQueryParser(Analyzer analyer)
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.