On 1/18/2020 10:09 AM, Rajdeep Sahoo wrote:
We are having 2.3 million documents and size is 2.5 gb.
10 core cpu and 24 gb ram . 16 slave nodes.
Still some of the queries are taking 50 sec at solr end.
As we are using solr 4.6 .
Other thing is we are having 200 (avg) facet fields in a query.
And 30 searchable fields.
Is there any way to identify why it is taking 50 sec for a query.
Multiple concurrent requests are there.
Searching 30 fields and computing 200 facets is never going to be super
fast. Switching to cloud will not help, and might make it slower.
Your index is pretty small to a lot of us. There are people running
indexes with billions of documents that take terabytes of disk space.
As Walter mentioned, computing 200 facets is going to require a fair
amount of heap memory. One *possible* problem here is that the Solr
heap size is too small, so a lot of GC is required. How much of the
24GB have you assigned to the heap? Is there any software other than
Solr running on these nodes?
Thanks,
Shawn