Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 24 additions & 22 deletions quickwit/Cargo.lock

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

4 changes: 2 additions & 2 deletions quickwit/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ quickwit-telemetry-exporters = { path = "quickwit-telemetry-exporters" }
quickwit-transport = { path = "quickwit-transport" }

# This is the tip of tantivy main.
tantivy = { git = "https://github.com/quickwit-oss/tantivy/", rev = "2e87c2eb0c8577c96c82a777f345bbf236a985fe", default-features = false, features = [
tantivy = { git = "https://github.com/quickwit-oss/tantivy/", rev = "8a4cfc40f5b7446c0700471aa50290dbb7f8ea97", default-features = false, features = [
"jitexpr",
"lz4-compression",
"mmap",
Expand All @@ -388,7 +388,7 @@ tantivy = { git = "https://github.com/quickwit-oss/tantivy/", rev = "2e87c2eb0c8
"columnar-zstd-compression",
] }
# Must stay on the same rev as `tantivy`.
tantivy-common = { git = "https://github.com/quickwit-oss/tantivy/", rev = "2e87c2eb0c8577c96c82a777f345bbf236a985fe" }
tantivy-common = { git = "https://github.com/quickwit-oss/tantivy/", rev = "8a4cfc40f5b7446c0700471aa50290dbb7f8ea97" }
tantivy-fst = "0.5"

# This is actually not used directly the goal is to fix the version
Expand Down
13 changes: 13 additions & 0 deletions quickwit/quickwit-proto/protos/quickwit/search.proto
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,19 @@ message SearchRequest {
// Scheduling priority for leaf search execution. Negative values are allowed,
// and lower values have higher priority. Callers that omit it get priority 0.
int32 priority = 21;

// Calculated fields: fields computed from fast fields with a jitexpr expression.
// Aggregations can use them as field names.
repeated CalculatedField calculated_fields = 22;
}

message CalculatedField {
// Name of the calculated field, as used in the aggregation request.
// A calculated field shadows a fast field with the same name.
string name = 1;
// Jitexpr expression, serialized as a string. For example: `(MULTIPLY price stock)`.
// Variables refer to fast fields.
string expression = 2;
}

enum CountHits {
Expand Down
16 changes: 16 additions & 0 deletions quickwit/quickwit-proto/src/codegen/quickwit/quickwit.search.rs

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

Loading
Loading