lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sanyi <need4...@yahoo.com>
Subject stopword AND validword throws exception
Date Wed, 10 Nov 2004 09:46:41 GMT
Hi!

I've left out custom stopwords from my index using the StopAnalyzer(customstopwords).
Now, when I try to searh the index the same way (StopAnalyzer(customstopwords)), it seems
to act
strange:

This query works as expected:
validword AND stopword
(throws out the stopword part and searches for validword)

This query seems to crash:
stopword AND validword
(java.lang.ArrayIndexOutOfBoundsException: -1)

Maybe it can't handle the case if it had to remove the very first part of the query?!
Can anyone else test this for me? How can I overcome this problem?

(lucene-1.4-final.jar)

Thanks for your time!

Sanyi


		
__________________________________ 
Do you Yahoo!? 
Check out the new Yahoo! Front Page. 
www.yahoo.com 
 


---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Mime
View raw message