Re: lucene 2.3.1 QueryTermExtractor error

2008-04-19 Thread Peiran Song
That is the problem! -- an old highlight.jar Thank you, Erick! Erick Erickson wrote: Are you absolutely sure that you don't have some older jars hanging around in your environment? Especially when using Eclipse, the jar you compile with isn't necessarily the jar you run with, you have to find th

Re: lucene 2.3.1 QueryTermExtractor error

2008-04-19 Thread Erick Erickson
Are you absolutely sure that you don't have some older jars hanging around in your environment? Especially when using Eclipse, the jar you compile with isn't necessarily the jar you run with, you have to find the magic runtime settings And if you're not using eclipse, it could still be somethi

lucene 2.3.1 QueryTermExtractor error

2008-04-18 Thread Peiran Song
Hi All, I recently upgraded Lucene to 1.9.1 and then to 2.3.1. The application program compiled successfully but throws run time error: java.lang.NoSuchFieldError: prohibited org.apache.lucene.search.highlight.QueryTermExtractor.getTermsFromBooleanQuery(QueryTermExtractor.java:91)