Re: Help migrating from 1.9.1 to 2.3.0 (Newbie)

2008-04-08 Thread JavaJava
The last two errors were actually 'inside' the document.add() method call, i.e.. document.add(Field.Keyword(obj.getKeyFieldName(), obj.getKeyFieldValue())); document.add(Field.Text(field.getName(), dispVal)); How does this translate in 2.3.0 ?? -- View this message in context: http://w

Help migrating from 1.9.1 to 2.3.0 (Newbie)

2008-04-07 Thread JavaJava
Someone has left here and I was asked to upgrade to lucene 2.3.0. Please comment on the compile errors: ERROR: rd.delete(t) > does this become: rd.deleteDocuments(t) ? (rd is an IndexReader) ERROR: Query q = MultiFieldQueryParser.parse(srch, names, new StandardAnalyzer()) Do I change this