[ https://issues.apache.org/jira/browse/LUCENE-4068?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13278913#comment-13278913 ]
Yonik Seeley commented on LUCENE-4068: -------------------------------------- bq. you cannot delete the parent w/o deleting all of its children Atomic update seems a bit tricky... Perhaps this {code} public void updateDocuments(Term delTerm, Iterable<? extends Iterable<? extends IndexableField>> docs, Analyzer analyzer) throws CorruptIndexException, IOException { {code} should be something like {code} public void updateDocuments(Iterable<Term>, Iterable<? extends Iterable<? extends IndexableField>> docs, Analyzer analyzer) throws CorruptIndexException, IOException { {code} or perhaps even more generic: {code} public void updateDocuments(Query delQuery, Iterable<? extends Iterable<? extends IndexableField>> docs, Analyzer analyzer) throws CorruptIndexException, IOException { {code} > 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org