lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adrien Grand <jpou...@gmail.com>
Subject Re: Update a bunch of documents
Date Fri, 12 Apr 2013 09:31:16 GMT
Hi,

On Thu, Apr 11, 2013 at 5:46 PM, Carsten Schnober
<schnober@ids-mannheim.de> wrote:
> This is limited to one
> field only (not the one on which the query is typically performed!),
> shouldn't that help?

Unfortunately not. Lucene doesn't support in-place updates so updating
a document is equivalent to deleting the old version and adding back
the new one (although Lucene can do it atomically).

For your information, there are efforts to try to improve document
updates[1][2][3].

[1] https://issues.apache.org/jira/browse/LUCENE-4258
[2] https://issues.apache.org/jira/browse/LUCENE-3837
[3] https://issues.apache.org/jira/browse/LUCENE-4272

-- 
Adrien

---------------------------------------------------------------------
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