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

Shalin Shekhar Mangar updated SOLR-801:
---------------------------------------

    Attachment: SOLR-801.patch

Patch for the fix:
# If deleteQuery is null, call SolrWriter.doDeleteAll. Since deleteQuery is 
already set to "* : *" in execute method, it is never null.

> configurable delete query  per root-entity
> ------------------------------------------
>
>                 Key: SOLR-801
>                 URL: https://issues.apache.org/jira/browse/SOLR-801
>             Project: Solr
>          Issue Type: New Feature
>          Components: contrib - DataImportHandler
>    Affects Versions: 1.3
>            Reporter: Noble Paul
>            Assignee: Shalin Shekhar Mangar
>             Fix For: 1.4
>
>         Attachments: SOLR-801.patch, SOLR-801.patch, SOLR-801.patch, 
> SOLR-801.patch
>
>
> Now on a full import DIH deletes *:* which is a problem if I have different 
> root entities .
> Suggest having a deleteByQuery attribute for each root entity so that cleanup 
> can issue a different query instead of *:*

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