[
https://issues.apache.org/jira/browse/SOLR-1059?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shalin Shekhar Mangar updated SOLR-1059:
----------------------------------------
Attachment: SOLR-1059.patch
Changed the flags to $deleteDocById and $deleteDocByQuery. In summary, here are
the changes:
Special flags introduced for deleting documents by query or id, skipping rows
and stopping further transforms. Use $deleteDocById, $deleteDocByQuery for
deleting by id and query respectively. Use $skipRow to skip the current row but
continue with the document. Use $stopTransform to stop further transformers.
New methods are introduced in Context for deleting by id and query.
> allow delete document in DIH
> ----------------------------
>
> Key: SOLR-1059
> URL: https://issues.apache.org/jira/browse/SOLR-1059
> Project: Solr
> Issue Type: New Feature
> Components: contrib - DataImportHandler
> Reporter: Noble Paul
> Assignee: Shalin Shekhar Mangar
> Attachments: SOLR-1059.patch, SOLR-1059.patch, SOLR-1059.patch,
> SOLR-1059.patch, SOLR-1059.patch
>
>
> There is no means to delete docs in DIH.
> add two special variables
> # $deleteDocId
> # $deleteDocQuery
> if the returned row contains these fields DIH will delete docs by id or query
> depending on what is present
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.