cimbom
cimbom

Reputation: 259

Solr Indexing Time of Documents

is there a way to see the total index time of documents in a collection? I have looked at this link: https://cwiki.apache.org/confluence/display/solr/Collections+API#CollectionsAPI-api181 and especially for the collection stats api, but I did not found any relevant fields. Thank you very much in advance.

Best regards,

Upvotes: 0

Views: 896

Answers (1)

MatsLindh
MatsLindh

Reputation: 52912

A request to index documents will return the time it took in the response. Look for {"responseHeader":{"status":0,"QTime":5}. There is no single value that keeps the total time spent indexing over the lifetime of a collection, as far as I know. From Shalin's post on solr-user:

QTime is the elapsed time (in milliseconds) between the arrival of the request (when the SolrQueryRequest object is created) and the completion of the request handler. In other words, it will tell you how long it took to execute your query including things like query parsing, the actual search, faceting etc.

Upvotes: 1

Related Questions