You could put the view counts in an external file field. That is what that was designed for.
Making it work in a Solr Cloud cluster isn’t very clean. You’ll need to update the file on each node. But it should work. It has been a while since I’ve used it. https://solr.apache.org/guide/8_11/working-with-external-files-and-processes.html wunder Walter Underwood wun...@wunderwood.org http://observer.wunderwood.org/ (my blog) > On Mar 28, 2022, at 7:25 PM, gnandre <arnoldbron...@gmail.com> wrote: > > I have a search interface that searches for videos. There is a filter there > that can sort the results based on views for last hour, last day, > last week, last month and last year. Is there a way to achieve this sorting > without always needing to update the index? E.g. After each specific > duration expires, all documents need to be indexed again for newly > calculated values.This is too much indexing overload. (p.s I am doing > atomic indexing for these fields already)