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

Mou Nandi commented on SOLR-12373:
----------------------------------

Hi, this is really late, but is there any reason to not have the ability to add 
a date field in the tombstone document? Looks like to me it is in 
solr\core\src\java\org\apache\solr\util\DOMUtil.java where the configs are 
being read and it does not have the capability to read a date field or do any 
type of datemath. It will be super useful to be able to add date field and use 
that for expiring thode deleted documents .For SLA reasons, sometimes deleted 
document sneed to be in the index to prove the document were deleted and after 
n days they can get deleted from the index. I put in the capabilities to the 
date math for the case we need ( like add a date field with NOW+n days . 

> Let DocBasedVersionConstraintsProcessor define fields to use in tombstones
> --------------------------------------------------------------------------
>
>                 Key: SOLR-12373
>                 URL: https://issues.apache.org/jira/browse/SOLR-12373
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Tomas Eduardo Fernandez Lobbe
>            Assignee: Tomas Eduardo Fernandez Lobbe
>            Priority: Minor
>             Fix For: 7.7
>
>         Attachments: SOLR-12373.patch, SOLR-12373.patch, SOLR-12373.patch, 
> SOLR-12373.patch
>
>
> DocBasedVersionConstraintsProcessor creates tombstones when processing a 
> delete by id. Those tombstones only have id (or whatever the unique key name 
> is) and version field(s), however, if the schema defines some required 
> fields, adding the tombstone will fail.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to