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 10:23 PM, Chris Hostetter <hossman_luc...@fucit.org> wrote: > > : There were no changes made in the solrconfig.xml file except added that > : <updateRequestProcessorChain > default="true"></updateRequestProcessorChain> > : block. > > ok, first off: if you already *had* another updateRequestProcessorChain > that said 'default="true"' just adding a new one would be weird and would > likely give you errors. you have t oconsider the whole context of the > config and the other updateRequestProcessorChains when you make edits like > that. > > : <initParams path="/update/**"> > : <lst name="defaults"> > : <str name="update.chain">add-unknown-fields-to-the-schema</str> > : </lst> > : </initParams> > > so that says whe nyou make any requests to a "/update" handler, it's going > to use a default request param of > update.chain=add-unknown-fields-to-the-schema. > > so your updates are not going to the default hanler (which you didn't give > a name) they are going though the <updateRequestProcessorChain/> with the > name="add-unknown-fields-to-the-schema" > > you should probably remove the chain you added, and instead put the new > processors you want in the add-unknown-fields-to-the-schema chain. > > that's the simplest way to get what you want in place. > > > -Hoss > http://www.lucidworks.com/ >