I\'m using Solr for a realtime search index. My dataset is about 60M large documents. Instead of sorting by relevance, I need to sort by time. Currently I\'m using the sort flag
Obvious first question: what's type of your time field? If it's string, then sorting is obviously very slow. tdate
is even faster than date
.
Another point: do you have enough memory for Solr? If it starts swapping, then performance is immediately awful.
And third one: if you have older Lucene, then date
is just string, which is very slow.