Class WebJETQueryParser

java.lang.Object
org.apache.lucene.queryParser.QueryParser
sk.iway.iwcm.system.fulltext.lucene.WebJETQueryParser
All Implemented Interfaces:
org.apache.lucene.queryParser.QueryParserConstants

public class WebJETQueryParser extends org.apache.lucene.queryParser.QueryParser
WebJETQueryParser.java - query parser, ktory pozna Numeric fieldy
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.apache.lucene.queryParser.QueryParser

    org.apache.lucene.queryParser.QueryParser.Operator
  • Field Summary

    Fields inherited from class org.apache.lucene.queryParser.QueryParser

    AND_OPERATOR, jj_nt, OR_OPERATOR, token, token_source

    Fields inherited from interface org.apache.lucene.queryParser.QueryParserConstants

    _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, RangeEx, RANGEEX_END, RANGEEX_GOOP, RANGEEX_QUOTED, RANGEEX_START, RANGEEX_TO, RangeIn, RANGEIN_END, RANGEIN_GOOP, RANGEIN_QUOTED, RANGEIN_START, RANGEIN_TO, RPAREN, STAR, TERM, tokenImage, WILDTERM
  • Constructor Summary

    Constructors
    Constructor
    Description
    WebJETQueryParser(org.apache.lucene.util.Version matchVersion, String f, org.apache.lucene.analysis.Analyzer a)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.apache.lucene.search.Query
    getFieldQuery(String field, String queryText, boolean quoted)
     
    org.apache.lucene.search.Query
    getRangeQuery(String field, String part1, String part2, boolean inclusive)
     

    Methods inherited from class org.apache.lucene.queryParser.QueryParser

    addClause, Clause, Conjunction, disable_tracing, enable_tracing, escape, generateParseException, getAllowLeadingWildcard, getAnalyzer, getAutoGeneratePhraseQueries, getBooleanQuery, getBooleanQuery, getDateResolution, getDefaultOperator, getEnablePositionIncrements, getField, getFieldQuery, getFieldQuery, getFuzzyMinSim, getFuzzyPrefixLength, getFuzzyQuery, getLocale, getLowercaseExpandedTerms, getMultiTermRewriteMethod, getNextToken, getPhraseSlop, getPrefixQuery, getRangeCollator, getToken, getWildcardQuery, main, Modifiers, newBooleanClause, newBooleanQuery, newFuzzyQuery, newMatchAllDocsQuery, newMultiPhraseQuery, newPhraseQuery, newPrefixQuery, newRangeQuery, newTermQuery, newWildcardQuery, parse, Query, ReInit, ReInit, setAllowLeadingWildcard, setAutoGeneratePhraseQueries, setDateResolution, setDateResolution, setDefaultOperator, setEnablePositionIncrements, setFuzzyMinSim, setFuzzyPrefixLength, setLocale, setLowercaseExpandedTerms, setMultiTermRewriteMethod, setPhraseSlop, setRangeCollator, Term, TopLevelQuery

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • WebJETQueryParser

      public WebJETQueryParser(org.apache.lucene.util.Version matchVersion, String f, org.apache.lucene.analysis.Analyzer a)
  • Method Details

    • getRangeQuery

      public org.apache.lucene.search.Query getRangeQuery(String field, String part1, String part2, boolean inclusive) throws org.apache.lucene.queryParser.ParseException
      Overrides:
      getRangeQuery in class org.apache.lucene.queryParser.QueryParser
      Throws:
      org.apache.lucene.queryParser.ParseException
    • getFieldQuery

      protected org.apache.lucene.search.Query getFieldQuery(String field, String queryText, boolean quoted) throws org.apache.lucene.queryParser.ParseException
      Overrides:
      getFieldQuery in class org.apache.lucene.queryParser.QueryParser
      Throws:
      org.apache.lucene.queryParser.ParseException