TLDR David had queries regarding various search object fields, such as `out_of`, `found` and `found_docs`. Kishore Nallan provided explanations for each field.
is there a reference for all the fields in the search result object and what they mean - like what does "out_of" mean?
I'm pretty sure this field has a different meaning when I have group_by enabled, right? `out_of` with `group_by` would tell me how many groups are found, as opposed to `found` and `found_docs` - and without `group_by` enabled then `out_of` replaces `found_docs` since they're giving the same info... is that right?
and `found` is the total found so far including previous pages?
it does not appear that `found_docs` is included in the SearchResponse interface in the js client
• out_of: total number of docs in collection. In the case of group_by queries, this will be total groups, yes
• `found` is the groups found satisfying the search query
• `found_docs` was added recently. It's the individual (non-grouped) docs found.
Indexed 3051 threads
Lightning-fast, open source search engine for everyone | Knowledge Base powered by Struct.AI