lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Danica Damljanovic <danica.damljano...@gmail.com>
Subject Re: Indexing 1 doc only ?
Date Fri, 08 Apr 2011 12:19:48 GMT
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.diviacco@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

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