undeleteAll() and delete(int) in trunk?

2012-02-24 Thread Andrzej Bialecki
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? -- Best regard

Re: undeleteAll() and delete(int) in trunk?

2012-02-24 Thread Andrzej Bialecki
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 function

Re: undeleteAll() and delete(int) in trunk?

2012-02-24 Thread Simon Willnauer
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 1

Re: undeleteAll() and delete(int) in trunk?

2012-02-24 Thread Andrzej Bialecki
On 24/02/2012 22:15, Simon Willnauer wrote: 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 c