RE: Indexing Error

2014-11-22 Thread Uwe Schindler
The old constants are still working in later versions. - Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: u...@thetaphi.de > -Original Message- > From: Robert Nikander [mailto:rob.nikan...@gmail.com] > Sent: Saturday, November 22, 2014 8:36 PM > To: ja

RE: Indexing Error

2014-11-22 Thread Uwe Schindler
Hi, This generally happens, if you have an older version of Lucene somewhere in your classpath. E.g., if older Lucene was placed outside of the webapp somewhere in the classpath of Websphere itself. Uwe - Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: u...

Re: Indexing Error

2014-11-22 Thread Robert Nikander
Looks like the version of Lucene on your runtime classpath is not the same as the one you compiled against. In some recent version they changed the naming convention in those fields. You may want: ‘LUCENE_4_7_0’. https://lucene.apache.org/core/4_10_2/core/org/apache/lucene/util/Version.html

Indexing Error

2014-11-22 Thread Tamer Saleh
Hi team, I have a run time error when running this code snippet on websphere application server 8.5: Analyzer analyzer = new StandardAnalyzer(Version.LUCENE_47); IndexWriterConfig iW = new IndexWriterConfig(Version.LUCENE_47,analyzer); Directory index = new RAMDirectory