Understanding Purpose of Facet Fields in Typesense
TLDR John sought clarification about the use of facet fields in Typesense. Jason clarified that while previously dataset needed both facet and non-facet fields, this is now redundant.
May 20, 2021 (33 months ago)
authors_facet, additionally to the
authorsfields. Sure, I saw that the sample schema defines these two fields as facet fields... but does that enforce these two
_facetfields to be always included? What is the purpose of these
_facetfields, since in the sample dataset they seem to always be a copy of the non
We've since addressed this in the past year or so, so now you can just use one field and set
facet: trueon it
Indexed 3015 threads (79% resolved)
Release and Features of Typesense v0.20
Jason announced the Typesense v0.20 release and its new features. Mica inquired about the schema and was informed that new fields can be added without reindexing. Alex congratulated the team.
Querying Unique Field Values in Typesense
Sruli asked if Typesense could query unique values in a field. SamHendley clarified that facets could be used for this purpose.
Facet Count Discrepancy in Integration Testing with Typesense
SamHendley faced an issue with inconsistent facet counts and found it was due to mixed case input and punctuation. Kishore Nallan confirmed that Typesense normalizes values before indexing, affecting the facet count. They then discussed addition of preconditioning data to match Typesense.