lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <otis_gospodne...@yahoo.com>
Subject Re: Wordnet indexing error
Date Thu, 09 Apr 2009 05:05:44 GMT

Hi,

The simplest thing to do is to grab the latest Lucene and the latest jar for that Wordnet
(syns2index) code.  That should work for you (that UnIndexed method is an old method that
doesn't exist any more).


Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch



----- Original Message ----
> From: "Sudarsan, Sithu D." <Sithu.Sudarsan@fda.hhs.gov>
> To: java-user@lucene.apache.org
> Sent: Wednesday, April 8, 2009 7:01:16 PM
> Subject: Wordnet indexing error
> 
> Hi All,
> 
> We're using Lucene 2.3.2 on Windows. When we try to generate index for
> WordNet2.0 using Syns2Index class, while indexing, the following error
> is thrown:
> 
> Java.lang.NoSuchMethodError:
> org.apache.lucene.document.Field.UnIndexed(Ljava/lang/String;Ljava/lang/
> String;)Lorg/apache/lucene/document/Field;
> 
> Our code is looks like this:
> 
> String[] filelocations = {"path/to/prolog/file", "path/to/index"};
> try{
>      Syns2Index.main(filelocations);
> } catch ....
> 
> 
> The error typically happens at about line number 130000 in the wn_s.pl
> file.
> 
> No luck with WordNet3.0 as well. We get the same error.
> 
> Any fix or solutions? 
> 
> Thanks in advance,
> Sithu D Sudarsan
> 
> sithu.sudarsan@fda.hhs.gov
> sdsudarsan@ualr.edu


---------------------------------------------------------------------
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