From 3ddd32307e8afda6fe1d5b75acf96b21ce85d6a7 Mon Sep 17 00:00:00 2001 From: fmassot Date: Wed, 29 Nov 2023 12:37:54 +0100 Subject: [PATCH] Fix _sort --- pkg/quickwit/data_query.go | 1 - 1 file changed, 1 deletion(-) diff --git a/pkg/quickwit/data_query.go b/pkg/quickwit/data_query.go index 0bfb0be..9925d48 100644 --- a/pkg/quickwit/data_query.go +++ b/pkg/quickwit/data_query.go @@ -335,7 +335,6 @@ func processLogsQuery(q *Query, b *es.SearchRequestBuilder, from, to int64, defa sort = es.SortOrderAsc } b.Sort(sort, defaultTimeField, "boolean") - b.Sort(sort, "_doc", "") b.Size(stringToIntWithDefaultValue(metric.Settings.Get("limit").MustString(), defaultSize)) // TODO when hightlight is supported in quickwit // b.AddHighlight()