[ 
https://issues.apache.org/jira/browse/SOLR-559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yonik Seeley updated SOLR-559:
------------------------------

    Attachment: SOLR-559.patch

Attaching patch.
Lucene's newer updateDocument and deleteDocuments have advantags over Solr's 
older implementation.
 - updates are atomic so a crash doesn't result in duplicates
 - deletes are applied on every new segment flush so they don't build up too 
much in memory
 - applying deletes doesn't force a writer close,reader open/close, writer 
open... and in addition to being more efficient, it allows a longer IndexWriter 
session, which results in a more compact index since segments in the same 
session can share the stored field docstore.

> use Lucene updateDocument, deleteDocuments
> ------------------------------------------
>
>                 Key: SOLR-559
>                 URL: https://issues.apache.org/jira/browse/SOLR-559
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Yonik Seeley
>            Priority: Minor
>         Attachments: SOLR-559.patch
>
>
> Use Lucene  updateDocument and deleteDocuments calls for the update handler

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to