Ah, yes, we had 8.4. So we have upgraded the test server to 8.6 and here is the results:
"took": 32146,
"timed_out": false,
"_shards": {
"total": 1,
"successful": 1,
"skipped": 0,
"failed": 0
},
"hits": {...}
"profile": {
"shards": [
{
"id": "[VyKbexZxTP24nHpcsNtS6w][proposals.proposals.vector_20221216][0]",
"dfs": {
"statistics": {
"type": "statistics",
"description": "collect term statistics",
"time": "95.3micros",
"time_in_nanos": 95396,
"breakdown": {
"term_statistics": 0,
"collection_statistics": 0,
"collection_statistics_count": 0,
"create_weight": 58698,
"term_statistics_count": 0,
"rewrite_count": 0,
"create_weight_count": 1,
"rewrite": 0
}
},
"knn": {
"query": [
{
"type": "BoostQuery",
"description": "(DocAndScore[500])^0.8",
"time": "2ms",
"time_in_nanos": 2094416,
"breakdown": {
"set_min_competitive_score_count": 0,
"match_count": 0,
"shallow_advance_count": 0,
"set_min_competitive_score": 0,
"next_doc": 597276,
"match": 0,
"next_doc_count": 500,
"score_count": 500,
"compute_max_score_count": 0,
"compute_max_score": 0,
"advance": 40897,
"advance_count": 49,
"score": 289088,
"build_scorer_count": 98,
"create_weight": 345387,
"shallow_advance": 0,
"create_weight_count": 1,
"build_scorer": 821768
}
}
],
"rewrite_time": 32019008501,
"collector": [
{
"name": "SimpleTopScoreDocCollector",
"reason": "search_top_hits",
"time": "1.3ms",
"time_in_nanos": 1308447
}
]
}
},
"searches": [
{
"query": [
{
"type": "KnnScoreDocQuery",
"description": "ScoreAndDocQuery",
"time": "843.2micros",
"time_in_nanos": 843270,
"breakdown": {
"set_min_competitive_score_count": 0,
"match_count": 0,
"shallow_advance_count": 0,
"set_min_competitive_score": 0,
"next_doc": 153495,
"match": 0,
"next_doc_count": 40,
"score_count": 40,
"compute_max_score_count": 0,
"compute_max_score": 0,
"advance": 38398,
"advance_count": 49,
"score": 80297,
"build_scorer_count": 98,
"create_weight": 284389,
"shallow_advance": 0,
"create_weight_count": 1,
"build_scorer": 286691
}
}
],
"rewrite_time": 6000,
"collector": [
{
"name": "SimpleTopScoreDocCollector",
"reason": "search_top_hits",
"time": "591.1micros",
"time_in_nanos": 591179
}
]
}
],
"aggregations": [],
"fetch": {
"type": "fetch",
"description": "",
"time": "24ms",
"time_in_nanos": 24071502,
"breakdown": {
"load_stored_fields": 18872699,
"load_source": 290889,
"load_stored_fields_count": 10,
"next_reader_count": 9,
"load_source_count": 10,
"next_reader": 1781233
},
"debug": {
"stored_fields": [
"_id",
"_routing",
"_source"
]
},
"children": [
{
"type": "FetchSourcePhase",
"description": "",
"time": "24.1micros",
"time_in_nanos": 24100,
"breakdown": {
"process_count": 10,
"process": 21500,
"next_reader": 2600,
"next_reader_count": 9
},
"debug": {
"fast_path": 10
}
},
{
"type": "StoredFieldsPhase",
"description": "",
"time": "13.5micros",
"time_in_nanos": 13599,
"breakdown": {
"process_count": 10,
"process": 8099,
"next_reader": 5500,
"next_reader_count": 9
}
}
]
}
}
]
}
}