Thanks Otis, Yes, we figured that out! Since, we do not intend to migrate to 2.4 yet, we used the syns2index source code from svn. The problem is now taken care.
This part is for all: This brings us to the next question: 1. Is there some contrib code available for using hypernyms and such, in addition to synonyms from Wordnet? 2. Is there some code to add user defined dictionary/ontology, as an additional layer to Wordnet (some sort of multi-level)? Thank you all in advance, Sincerely, Sithu -----Original Message----- From: Otis Gospodnetic [mailto:otis_gospodne...@yahoo.com] Sent: Thursday, April 09, 2009 1:06 AM To: java-user@lucene.apache.org Subject: Re: Wordnet indexing error 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.sudar...@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.sudar...@fda.hhs.gov > sdsudar...@ualr.edu --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org