-
Notifications
You must be signed in to change notification settings - Fork 507
fix(qw-search): TopHits aggregations because of unsupported OwnedValue deser with postcard #6088
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
fix(qw-search): TopHits aggregations because of unsupported OwnedValue deser with postcard #6088
Conversation
3a3412f to
d82dfa0
Compare
|
This looks like a reasonable fix. To make sure we won't see regressions and ensure compatibility with ES it would great add an integration test ( |
|
@rdettai-sk I found multiple bugs while testing but it seems to be more on the tantivy side, mostly coming from here:
Can we still merge this and I'll try to propose fixes on the tantivy repo? |
|
Because quickwit is prepending |
|
The top hits result is still not ES compatible, got the test wrong at the first place. I still have issues to make a request that is fully compatible with the quickwit response. |
|
Yes, the currently returned format is not compatible with elastic, and I think that's not good. Es returns But QW returns: Or stated otherwise, |
|
@rdettai-sk I'll ensure the format is ES compatible when refactoring the TopHits aggregation in my Tantivy's PR. |
|
Description
The Tantivy
OwnedValueenum used in theTopHitsVecEntrywas triggering a postcardWontImplementerror.Redefine
OwnedValuewith support for postcard de-serialization as well as TopHits result types.Testing
Top hits scenario is ok with quickwit and elasticsearch