Skip to content

Commit

Permalink
update tantivy (#3774)
Browse files Browse the repository at this point in the history
includes better aggregation error message
  • Loading branch information
PSeitz authored Aug 24, 2023
1 parent daaac84 commit 0368754
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 12 deletions.
18 changes: 9 additions & 9 deletions quickwit/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion quickwit/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ quickwit-serve = { version = "0.6.3", path = "./quickwit-serve" }
quickwit-storage = { version = "0.6.3", path = "./quickwit-storage" }
quickwit-telemetry = { version = "0.6.3", path = "./quickwit-telemetry" }

tantivy = { git = "https://github.com/quickwit-oss/tantivy/", rev = "59460c7", default-features = false, features = [
tantivy = { git = "https://github.com/quickwit-oss/tantivy/", rev = "e6cacc4", default-features = false, features = [
"mmap",
"lz4-compression",
"zstd-compression",
Expand Down
5 changes: 3 additions & 2 deletions quickwit/quickwit-search/src/root.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2514,8 +2514,9 @@ mod tests {
assert!(search_response.is_err());
assert_eq!(
search_response.unwrap_err().to_string(),
"Invalid aggregation request: no variant of enum AggregationVariants found in \
flattened data at line 17 column 17"
"Invalid aggregation request: unknown variant `termss`, expected one of `range`, \
`histogram`, `date_histogram`, `terms`, `avg`, `value_count`, `max`, `min`, `stats`, \
`sum`, `percentiles` at line 18 column 13"
);
Ok(())
}
Expand Down

0 comments on commit 0368754

Please sign in to comment.