If I am not mistaken Lucene Q&A mentions that you  can update a document by
1. deleting it 2. adding the new one. Given that you have the ID this looks
straightforward.

Danica

On 8 April 2011 13:00, Patrick Diviacco <patrick.divia...@gmail.com> wrote:

> Is there a way to update only 1 doc in the index rather than index the
> entire collection everytime there is a change ?
>
> Given a specific field (I use as ID) of my indexed doc, how can I select it
> and update its other fields ?
>
> thanks
>



-- 
Best,
Danica Damljanovic
-- 
Research Associate
GATE team http://gate.ac.uk
Natural Language Processing Group
University of Sheffield
http://www.dcs.shef.ac.uk/~danica

Reply via email to