lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "shrinath.m" <shrinat...@webyog.com>
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] <
ml-node+2713899-1210341880-376162@n3.nabble.com> 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 ?


-- 
Regards
Shrinath.M


--
View this message in context: http://lucene.472066.n3.nabble.com/Is-it-possible-to-update-only-selected-fields-in-a-document-tp2713888p2713965.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message