[ 
https://issues.apache.org/jira/browse/SOLR-124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12482414
 ] 

Yonik Seeley commented on SOLR-124:
-----------------------------------

> Does anyone have a feeling on whether LUCENE-565 will improve performance?

Probably not much, if at all.  Deletions happen after a segment flush, which is 
slightly less efficient (more indexreaders that need to be opened), but does 
get deletions in the index faster (meaning they are more likely to be 
"squeezed" out by a subsequent segment merge).

One small advantage to LUCENE-565 is that overwriting is atomic... you can't 
crash and see duplicates.

The patch has been changed around multiple times, and it would now be necessary 
to include a lucene package in solr to get access to package-protected stuff 
that would allow efficient delete-by-query.


> use NewIndexModifier, LUCENE-565
> --------------------------------
>
>                 Key: SOLR-124
>                 URL: https://issues.apache.org/jira/browse/SOLR-124
>             Project: Solr
>          Issue Type: Improvement
>          Components: update
>            Reporter: Yonik Seeley
>
> LUCENE-565 adds extension points to the IndexWriter, and adds delete-by-term 
> functionality.
> We should probably take advantage of this (when available) in our 
> UpdateHandler (a new one, or modify DU2?)
> and perhaps implement a more efficient deleteByQuery.

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