Grouping by Individual Items in Array of Ints in Typesense
TLDR TJ asks about grouping by individual items in an array of ints in Typesense. Kishore Nallan confirms it's not possible, but it's in their plans to address the issue.
Mar 23, 2023 (9 months ago)
For example: if the field is called
sampleand document A has
sample: while document B has
sample: [1, 2]. It looks like if I group by
sample, typesense will return two groups with keys:  and [1,2].
But what if I wanted it to have keys:  and , is there a way I can achieve this?
Mar 24, 2023 (9 months ago)
Kishore Nallan09:16 AM
Indexed 3015 threads (79% resolved)
Grouping and Aggregation in Typesense
kam asked about grouping and summing in Typesense. Jason explained that Typesense supports grouping, but aggregations are done on the entire resultset.
Optimizing Typesense Filter Performance with Array Fields
Vladimir ran into performance issue filtering array fields in Typesense. Jason suggested upgrading Typesense version, which helped reduce response times. Vladimir confirmed correlation between filtering conditions and performance.
Querying Fields in Random Order in a Collection with Typesense
Andrew asked if it was possible to query fields in a random order with Typesense. Jason explained that this feature isn't currently available but is being tracked within a GitHub issue and provided a workaround.