org.apache.lucene.queryParser.TokenMgrError: Lexical error at line 1, column 3. Encountered: <EOF> after : "[]" at org.apache.lucene.queryParser.QueryParserTokenManager.getNextToken(Unknown Source)

gossamer-threads.com | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Brackets in query syntax? | Lucene | Java-User

    gossamer-threads.com | 6 months ago
    org.apache.lucene.queryParser.TokenMgrError: Lexical error at line 1, column 3. Encountered: <EOF> after : "[]" at org.apache.lucene.queryParser.QueryParserTokenManager.getNextToken(Unknown Source)

    Root Cause Analysis

    1. org.apache.lucene.queryParser.TokenMgrError

      Lexical error at line 1, column 3. Encountered: <EOF> after : "[]" at org.apache.lucene.queryParser.QueryParserTokenManager.getNextToken(Unknown Source)

      at org.apache.lucene.queryParser.QueryParser.jj_ntk()
    2. Lucene
      QueryParser.parse
      1. org.apache.lucene.queryParser.QueryParser.jj_ntk(Unknown Source)
      2. org.apache.lucene.queryParser.QueryParser.Modifiers(Unknown Source)
      3. org.apache.lucene.queryParser.QueryParser.Query(Unknown Source)
      4. org.apache.lucene.queryParser.QueryParser.parse(Unknown Source)
      5. org.apache.lucene.queryParser.QueryParser.parse(Unknown Source)
      5 frames