lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apostolis Xekoukoulotakis <xekou...@gmail.com>
Subject Re: understanding the need to reindex a document
Date Mon, 22 Oct 2012 19:54:40 GMT
I cant answer you that. But even if it is feasible, maybe the answer is
that noone really needed it.

2012/10/22 Shaya Potter <spotter@gmail.com>

> I can understand that (i.e. why in place wont work), but the Q would be,
> why one can't read in a document, add() or removeField() that document and
> then updateDocument() that document.
>
>
> On 10/22/2012 03:43 PM, Apostolis Xekoukoulotakis wrote:
>
>> I am not that familiar with Lucene, so my answer may be a bit off.
>>
>> Search on the internet about log structured storage. There you will find
>> why rewriting an entry is better than updating an existing entry.
>>
>> Leveldb/cassandra/bigTable use it. maybe search these terms as well.
>>
>> 2012/10/22 Shaya Potter <spotter@gmail.com>
>>
>>  so there are lots of Qs that are asked about wanting to modify a lucene
>>> document (i.e. remove fields, add fields....) but are told that one needs
>>> to reindex.
>>>
>>> No one ever answers the technical Q of why this is, and I'm interested in
>>> that.  presumambly because documents aren't stored as documents or even
>>> in
>>> any form that could be reassembled into a document, but I'm interested in
>>> what the actual answer is.
>>>
>>> thanks.
>>>
>>> ------------------------------****----------------------------**
>>> --**---------
>>> To unsubscribe, e-mail: java-user-unsubscribe@lucene.****apache.org<
>>> java-user-**unsubscribe@lucene.apache.org<java-user-unsubscribe@lucene.apache.org>
>>> >
>>> For additional commands, e-mail: java-user-help@lucene.apache.****org<
>>> java-user-help@lucene.**apache.org <java-user-help@lucene.apache.org>>
>>>
>>>
>>>
>>
>>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.**apache.org<java-user-unsubscribe@lucene.apache.org>
> For additional commands, e-mail: java-user-help@lucene.apache.**org<java-user-help@lucene.apache.org>
>
>


-- 


Sincerely yours,

     Apostolis Xekoukoulotakis

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message