Re: Get recent documents from solr

2019-02-12 Thread shruti suri
Problem got resolved using MaxFieldValueUpdateProcessorFactory. I indexed all update dates fields in one field and used this processor factory on that field to get latest date among all dates - Regards Shruti -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Get recent documents from solr

2019-02-10 Thread shruti suri
Hi, Yes we are running full indexing every 4 hours and also we are using more than 4 views to get data and each view has its own update date. - Regards Shruti -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Get recent documents from solr

2019-02-08 Thread Jan Høydahl
Add a field to schema which will insert the actual indexing date Then query q=*:*&sort=indextime desc But if you re-index everything (why?) then you need to map some date stamp from the source DB into the same field in Solr schema, that you can then sort on. You're indexing from 4 DB views in