We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c18d16 commit 0f28194Copy full SHA for 0f28194
quickwit/quickwit-jaeger/src/lib.rs
@@ -325,11 +325,14 @@ impl JaegerService {
325
if root_only {
326
// TODO this isn't backward compatible. We could do NOT is_root:false with a lenient
327
// UserInputQuery once we support being lenient on missing fields
328
- let term_query = TermQuery {
+ let is_root = TermQuery {
329
field: "is_root".to_string(),
330
value: "true".to_string(),
331
};
332
- query.must.push(term_query.into());
+ let mut new_query = BoolQuery::default();
333
+ new_query.must.push(query.into());
334
+ new_query.must.push(is_root.into());
335
+ query = new_query;
336
}
337
338
let query_ast: QueryAst = query.into();
0 commit comments