lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "shrinath.m" <>
Subject Re: Is it possible to update only selected fields in a document ?
Date Tue, 22 Mar 2011 07:40:43 GMT
On Tue, Mar 22, 2011 at 12:39 PM, Anshum-2 [via Lucene] <> wrote:

> No as of now, there's no way to do so.

Thank you Anshum-2,
how do you propose I do this ?
I have thought of a way like this :
- first get the doc based on a unique id into a HashMap,
- replace the field which I want to update
- call update on the index with the map.

Is there any efficient way of doing this ?


View this message in context:
Sent from the Lucene - Java Users mailing list archive at
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message