vespa-engine / vespa

AI + Data, online. https://vespa.ai
https://vespa.ai
Apache License 2.0
5.69k stars 593 forks source link

Continuation token issue with grouping query #28319

Open sunil924 opened 1 year ago

sunil924 commented 1 year ago

Describe the bug How do we determine that all the grouping results are received and no need to make a query with a continuation token? https://vespatalk.slack.com/archives/C01QNBPPNT1/p1692267746709079

Expected behavior Once all the results are received grouping list should not have next continuation token in response.

Environment (please complete the following information): podman

Vespa version Include Vespa version(s) used. 8.137.25

sunil924 commented 1 year ago

Edited the description to add the query.

nehajatav commented 1 year ago

If this is happening only for max(inf) which is the case for @sunil924 , does it mean the results are already exhaustive and continuation token doesn't mean anything in that case? [cc: @bratseth ]