[
https://issues.apache.org/jira/browse/LUCENE-4068?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13278977#comment-13278977
]
Yonik Seeley commented on LUCENE-4068:
--------------------------------------
bq. Right now for updating the deleteDocuments(query) method should be used,
before using updateDocuments(...) / addDocuments(...)
Sure - but my point is that isn't atomic. That's why the updateDocument*
methods exist in the first place (as opposed to doing separate deletes and then
adds).
> Improve IW#addDocuments(...) javadoc
> ------------------------------------
>
> Key: LUCENE-4068
> URL: https://issues.apache.org/jira/browse/LUCENE-4068
> Project: Lucene - Java
> Issue Type: Improvement
> Affects Versions: 3.2, 3.3, 3.4, 3.5, 3.6, 4.0
> Reporter: Martijn van Groningen
> Priority: Minor
> Fix For: 4.0, 3.6.1
>
> Attachments: LUCENE-4068.patch, LUCENE-4068.patch
>
>
> Improve IW#addDocuments(...) javadoc.
> Describer how blocks can be used regarding to index updates.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]