The indexes selected for the query. For example: [ {"queryScope": "Collection", "properties": "(foo ASC, name ASC)"}, {"queryScope": "Collection", "properties": "(bar ASC, name ASC)"} ]
Debugging statistics from the execution of the query. Note that the debugging stats are subject to change as Firestore evolves. It could include: { "indexes_entries_scanned": "1000", "documents_scanned": "20", "billing_details" : { "documents_billable": "20", "index_entries_billable": "1000", "min_query_cost": "0" } }
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-02 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eExplainMetrics\u003c/code\u003e object provides information about query planning and execution, including \u003ccode\u003eplanSummary\u003c/code\u003e and \u003ccode\u003eexecutionStats\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eplanSummary\u003c/code\u003e contains details about the planning phase, specifically listing the \u003ccode\u003eindexesUsed\u003c/code\u003e for the query in a structured format.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eexecutionStats\u003c/code\u003e offers insights into the query's performance, such as \u003ccode\u003eresultsReturned\u003c/code\u003e, \u003ccode\u003eexecutionDuration\u003c/code\u003e, \u003ccode\u003ereadOperations\u003c/code\u003e, and \u003ccode\u003edebugStats\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eresultsReturned\u003c/code\u003e metric in \u003ccode\u003eexecutionStats\u003c/code\u003e indicates the total number of results, while \u003ccode\u003eexecutionDuration\u003c/code\u003e measures the query's execution time in seconds.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003edebugStats\u003c/code\u003e, part of \u003ccode\u003eexecutionStats\u003c/code\u003e, offers detailed debugging information, which may include the number of indexes and documents scanned, as well as billing details.\u003c/p\u003e\n"]]],[],null,[]]