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', still i'm experimenting with this, is it feasible? <processor class="solr.processor.DocExpirationUpdateProcessorFactory"> <str name="autoDeleteChainName">scheduled-delete-and-update</str> ... </processor> Thanks & Best Regards! /// (. .) --------ooO--(_)--Ooo-------- | Nick Tan | ------------------------------------ On Thu, Mar 2, 2017 at 7:36 PM, Alexandre Rafalovitch <arafa...@gmail.com> wrote: > 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/ - Resources for Solr users, new and experienced > > > On 2 March 2017 at 22:29, XuQing Tan <missed...@gmail.com> wrote: > > Hi folks > > > > in our case, we have contents need to be refreshed periodically according > > to the TTL of each document. > > > > looks like DocExpirationUpdateProcessorFactory is a quite good fit > except > > that it does delete the document only, but no way to update the indexing > > with the new document. > > > > I don't see there's a way to hook into DocExpirationUpdateProcessorFa > ctory > > for custom logic like get the document and update index. and even > > DocExpirationUpdateProcessorFactory is a final class. > > > > so just want to confirm with you, is there any existing solution for > this? > > > > otherwise, I might have our own copy of DocExpirationUpdateProcessorFa > ctory > > with custom code. > > > > > > Thanks & Best Regards! > > > > /// > > (. .) > > --------ooO--(_)--Ooo-------- > > | Nick Tan | > > ------------------------------------ >