lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tamer Saleh <tamer.sa...@yahoo.com.INVALID>
Subject Indexing Error
Date Sat, 22 Nov 2014 19:12:05 GMT
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();
	IndexWriter writer = new IndexWriter(index,iW);	 


The error is:
java.lang.nosuchfielderror: org/apache/lucene/util/version.lucene_47

Please help me out.

Thanks in advance! 


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


Mime
View raw message