Hi,

As suggested, we could manage to activate the document expiration using TTL
by shifting the newly added URP setting in the starting of the
add-unknown-fields-to-the-schema URP. That populates the "expire_at_dt"
field and makes document to expire after defined TTL.

Many Thanks,
Makailol

On Fri, Feb 27, 2015 at 7:41 PM, Alexandre Rafalovitch <arafa...@gmail.com>
wrote:

> Yep,
>
> Your default URP chain is probably not being triggered due to the
> initParams. initParams are new in Solr 5, so this is still rough
> around the edges advice.
>
> But try giving your chain a name and adding explicit "update.chain"
> value to the requestHandler section (not initParams) section.
>
> Alternatively, since add-unknown-fields.... is already used, you could
> move your extra URPs to the start of that instead. In fact, if you are
> doing both timestamps and dynamically adding fields to the schema, you
> will need to do that anyway.
>
> Regards,
>    Alex.
>
> On 27 February 2015 at 08:53, Makailol Charls <4extrama...@gmail.com>
> wrote:
> > <initParams path="/update/**">
> > <lst name="defaults">
> >     <str name="update.chain">add-unknown-fields-to-the-schema</str>
> > </lst>
> > </initParams>
>
>
>
> ----
> Solr Analyzers, Tokenizers, Filters, URPs and even a newsletter:
> http://www.solr-start.com/
>

Reply via email to