Ha I meant qtimes not atone. Also in general you shouldn’t use a load balancer with solr, since you won’t be able to keep the index hot and n memory for each subsequent query if you are paging through results. The best way in my experience is to have failovers for your nodes, instead of load balancing.
> On Dec 13, 2022, at 12:13 AM, Shawn Heisey <apa...@elyograg.org> wrote: > > On 12/12/22 13:14, Pradeep wrote: >> How to check time taken by solr to execute api? Also can you share me solr >> doc how we can query manually solr index for specific record or any api's >> you can provide. > > Not entirely sure what you are asking here. I will try to answer what I can > discern. > > In solr.log, each query is logged if you don't change the default logging > levels. Each of those log lines will include a qtime parameter, counting the > number of milliseconds it took to execute the query. The amount of time it > takes to build the response and send it over the network is not included in > the qtime. > > I don't know anything about your index, so I wouldn't be able to give you > explicit instructions for querying for a specific document. But in most > cases a query string like "id:value" will return a specific document, > assuming that the "id" field is your uniqueKey. > > Thanks, > Shawn >