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." <[email protected]>
> To: [email protected]
> 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
> 
> [email protected]
> [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to