[ 
https://issues.apache.org/jira/browse/BLUR-108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13667340#comment-13667340
 ] 

Gagan Deep Juneja commented on BLUR-108:
----------------------------------------

Can we just put check
if(indexWriter.numDocs() != 0){
applyDelete()
}

I guess indexWriter.numDocs() return the total count which include deleted docs 
as well. Will that be a problem for us?

Regards,
Gagan
                
> IndexImporter class - Optimize the import by skipping the delete process.
> -------------------------------------------------------------------------
>
>                 Key: BLUR-108
>                 URL: https://issues.apache.org/jira/browse/BLUR-108
>             Project: Apache Blur
>          Issue Type: Improvement
>    Affects Versions: 0.1.5
>            Reporter: Aaron McCurry
>             Fix For: 0.1.5
>
>
> When the existing shard is empty (numDocs = 0), then you can skip the delete 
> process.  This will improve import performance.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to