lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Saroja Kanta Maharana" <saroja.kanta.mahar...@gmail.com>
Subject Please Help me
Date Tue, 13 Feb 2007 11:41:38 GMT
Hi All,

"When i searched for "AND", "OR", "NOT" as query, it gives me the following
Exception"

Exception in thread "main" org.apache.lucene.queryParser.ParseException:
Encountered "<EOF>" at line 1, column 3.
Was expecting one of:
    "(" ...
    <QUOTED> ...
    <TERM> ...
    <PREFIXTERM> ...
    <WILDTERM> ...
    "[" ...
    "{" ...
    <NUMBER> ...

        at org.apache.lucene.queryParser.QueryParser.generateParseException(
QueryParser.java:1226)
        at org.apache.lucene.queryParser.QueryParser.jj_consume_token(
QueryParser.java:1109)
        at org.apache.lucene.queryParser.QueryParser.Clause(QueryParser.java
:759)
        at org.apache.lucene.queryParser.QueryParser.Query (QueryParser.java
:684)
        at org.apache.lucene.queryParser.QueryParser.parse(QueryParser.java
:122)
        at org.interworld.com.src.ProductSearch.main(ProductSearch.java:54)
Java Result: 1

Is there any way to resolve this exception.


*Regards*
*Saroj*

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message