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

Reply via email to