On Fri, Mar 3, 2017 at 9:17 AM, Erick Erickson
wrote:
> you'd have to copy/paste or petition to make
> DocExpirationUpdateProcessorFactory not final.
>
yes, I copied DocExpirationUpdateProcessorFactory with additional reason
is, our xml content from external source already contains expires in Da
Right, you'd have to copy/paste or petition to make
DocExpirationUpdateProcessorFactory not final.
Although it was likely made that for a good reason.
It does beg the question however, is this the right
thing to do? What you have here is some record
of when docs should expire. You had to know that
SOLR gets the updated content from external source (by calling a REST api
which returns xml content).
so my question is how can I plug this logic
in DocExpirationUpdateProcessorFactory, saying poll from external source
and update indexing?
for now i'm thinking to use a custom 'autoDeleteChainName'
Where would Solr get the updated content? Do you mean would it poll
from external source to refresh? Then, no. And if it is pushed from
external sources to Solr, then you just replace it as normal.
Not sure if I understand your use-case exactly.
Regards,
Alex.
http://www.solr-start.com/ -