You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by bu...@apache.org on 2002/03/21 23:20:02 UTC

DO NOT REPLY [Bug 7088] - IndexOutOfBoundsException from QueryParser

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7088>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7088

IndexOutOfBoundsException from QueryParser





------- Additional Comments From otis@apache.org  2002-03-21 22:20 -------
It looks like this clauses Vector is null.
Could you rebuild Lucene with debug on so that we can see the line numbers?

    // If this term is introduced by AND, make the preceding term required, 
    // unless it's already prohibited 
    if (conj == CONJ_AND) { 
      BooleanClause c = (BooleanClause) 
clauses.elementAt(clauses.size()-1); 
      if (!c.prohibited) 
        c.required = true; 
    } 

Maybe Brian Goetz knows the answer.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>