lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Charles.Sand...@gxs.com>
Subject Lucene 1.9.1 Fields()
Date Thu, 25 May 2006 21:00:36 GMT
I'm having a little trouble converting my code from Lucene 1.4.2 to
Lucene 1.9.1.  The following code is throwing exceptions, but I'm not
sure why.
 
Field myfield = new Field("docid", "5", Field.Store.YES,
Field.Index.UN_TOKENIZED);
 
Any help greatly appreciated.
 
The exception is:
org.apache.lucene.document.Field.<init>(Ljava/lang/String;Ljava/lang/Str
ing;Lorg/apache/lucene/document/Field$Store;Lorg/apache/lucene/document/
Field$Index;)V java.lang.NoSuchMethodError 
 
Thanks,
Charles
 
 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message