Skip to content

Commit 3463d66

Browse files
authored
Bump elasticsearch-dsl and fix API made private (#3617)
1 parent 498e785 commit 3463d66

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

quickwit/Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

quickwit/quickwit-serve/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ anyhow = { workspace = true }
1414
async-trait = { workspace = true }
1515
bytes = { workspace = true }
1616
byte-unit = { workspace = true }
17-
elasticsearch-dsl = "0.4"
17+
elasticsearch-dsl = "0.4.14"
1818
futures = { workspace = true }
1919
futures-util = { workspace = true }
2020
http-serde = { workspace = true }

quickwit/quickwit-serve/src/elastic_search_api/rest_handler.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
// You should have received a copy of the GNU Affero General Public License
1818
// along with this program. If not, see <http://www.gnu.org/licenses/>.
1919

20+
use std::collections::BTreeMap;
2021
use std::str::from_utf8;
2122
use std::sync::Arc;
2223
use std::time::Instant;
@@ -192,7 +193,7 @@ async fn es_compat_index_search(
192193
}
193194

194195
fn convert_hit(hit: quickwit_proto::Hit) -> ElasticHit {
195-
let fields: elasticsearch_dsl::Map<String, serde_json::Value> =
196+
let fields: BTreeMap<String, serde_json::Value> =
196197
serde_json::from_str(&hit.json).unwrap_or_default();
197198
ElasticHit {
198199
fields,

0 commit comments

Comments
 (0)