lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Willnauer <simon.willna...@googlemail.com>
Subject Re: undeleteAll() and delete(int) in trunk?
Date Fri, 24 Feb 2012 21:15:28 GMT
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 <ab@getopt.org> 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: dev-unsubscribe@lucene.apache.**org<dev-unsubscribe@lucene.apache.org>
> For additional commands, e-mail: dev-help@lucene.apache.org
>
>

Mime
View raw message