IndexReader is ReadOnly now. you can't undelete / delete by DocID anymore. The norms hell is gone too and should be implemented via DocValues and IW. there are thoughts and issues open which I don't recall from the top of my head.
hope that give some clarification simon On Fri, Feb 24, 2012 at 10:05 PM, Andrzej Bialecki <[email protected]> wrote: > On 24/02/2012 21:03, Andrzej Bialecki wrote: > >> Hi, >> >> What are the equivalents of the 3.x IndexReader.undeleteAll() and >> IR.delete(int) in trunk? I guess with the read-only readers this should >> be a function of IndexWriter now, but I can't figure out how this is >> supposed to work ... or is this functionality no longer available? >> > > .. and how to modify norms, while we're at it... > > > > -- > Best regards, > Andrzej Bialecki <>< > ___. ___ ___ ___ _ _ ______________________________**____ > [__ || __|__/|__||\/| Information Retrieval, Semantic Web > ___|||__|| \| || | Embedded Unix, System Integration > http://www.sigram.com Contact: info at sigram dot com > > > ------------------------------**------------------------------**--------- > To unsubscribe, e-mail: > [email protected].**org<[email protected]> > For additional commands, e-mail: [email protected] > >
