Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Per request latency #2

Closed
wants to merge 5 commits into from
Closed

Per request latency #2

wants to merge 5 commits into from

Conversation

dzane17
Copy link
Owner

@dzane17 dzane17 commented Sep 22, 2023

Draft

% curl -XGET 'localhost:9200/_search?pretty&phase_took' -H 'Content-Type: application/json' -d'
{
 "query": { "query_string": { "query": "value1" } }
}'
{
  "took" : 16,
  "phase_took" : {
    "dfs_pre_query" : 0,
    "query" : 13,
    "fetch" : 2,
    "dfs_query" : 0,
    "expand" : 0,
    "can_match" : 0
  },
  "timed_out" : false,
  "_shards" : {
    "total" : 10,
    "successful" : 10,
    "skipped" : 0,
    "failed" : 0
  },
  "hits" : {
    "total" : {
      "value" : 1,
      "relation" : "eq"
    },
    "max_score" : 0.2876821,
    "hits" : [
      {
        "_index" : "test2",
        "_id" : "1",
        "_score" : 0.2876821,
        "_source" : {
          "field1" : "value1"
        }
      }
    ]
  }
}

Signed-off-by: David Zane <[email protected]>
Signed-off-by: David Zane <[email protected]>
@dzane17 dzane17 closed this Oct 4, 2023
@dzane17 dzane17 deleted the per-request-latency branch November 28, 2023 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants