Hi, thx for your reply.
I have checked the source code and found it should be updated now. For Syns2Index: doc.add( new Field( F_WORD, g, Field.Store.YES, Field.Index.UN_TOKENIZED)) --> doc.add( Field.Keyword( F_WORD, g)) doc.add( new Field( F_SYN, cur, Field.Store.YES, Field.Index.NO)); --> doc.add( Field.UnIndexed( F_SYN , cur)); For SynLookup and SynExpand, tmp.add( tq, BooleanClause.Occur.SHOULD); --> tmp.add(tq, true, false); On 1/13/06, Daniel Naber <[EMAIL PROTECTED]> wrote: > > On Donnerstag 12 Januar 2006 16:25, jason wrote: > > > When i incorporate these files, Syns2Index.java, SynLookup.java, and > > SynExpand.java, I find some variables are not defined. > > It depends on Lucene in SVN, some things in the Lucene API have changed > since Lucene 1.4. So you need to get the latest development version from > SVN. > > Regards > Daniel > > -- > http://www.danielnaber.de > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >