lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: Can we update a field on the current index
Date Thu, 10 Jul 2008 12:06:32 GMT

Yes you must delete the entire document and then re-index a new one,  
to update a single Field.

There is some work underway, or at least a Jira issue opened, towards  
improving this situation, here:

     https://issues.apache.org/jira/browse/LUCENE-1231

But it will be some time before that's available.

Mike

Aditi Goyal wrote:

> Hi,
>
> I want to modify a field on the current index. Can it be done?
> For what I have heard that we cannot update the index . It has to be
> reindexed by deleting and then indexing again.
>
>
> Thanks,
> Aditi


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message