lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-5795) Option to periodically delete docs based on an expiration field -- or ttl specified when indexed.
Date Wed, 02 Apr 2014 17:27:18 GMT

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

ASF subversion and git services commented on SOLR-5795:
-------------------------------------------------------

Commit 1584099 from hossman@apache.org in branch 'dev/branches/branch_4x'
[ https://svn.apache.org/r1584099 ]

SOLR-5795: harden leader check to log cleanly (no NPE) in transient situations when there
is no leader due to election in progress (merge r1584097)

> Option to periodically delete docs based on an expiration field -- or ttl specified when
indexed.
> -------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-5795
>                 URL: https://issues.apache.org/jira/browse/SOLR-5795
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Hoss Man
>            Assignee: Hoss Man
>             Fix For: 4.8, 5.0
>
>         Attachments: SOLR-5795.patch, SOLR-5795.patch, SOLR-5795.patch, SOLR-5795.patch,
SOLR-5795.patch, SOLR-5795.patch
>
>
> A question I get periodically from people is how to automatically remove documents from
a collection at a certain time (or after a certain amount of time).  
> Excluding from search results using a filter query on a date field is trivial, but you
still have to periodically send a deleteByQuery to clean up those older "expired" documents.
 And in the case where you want all documents to auto-expire some fixed amount of time when
they were indexed, you still have to setup a simple UpdateProcessorto set that expiration
date.  So i've been thinking it would be nice if there was a simple way to configure solr
to do it all for you.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message