Nithin Saji
04/13/2021, 1:04 PMKishore Nallan
04/13/2021, 1:06 PMKishore Nallan
04/13/2021, 1:12 PM.*_facet
and define that to be facetable. So any field matching that regexp will be automatically added to facet index @Nithin SajiKishore Nallan
04/13/2021, 1:13 PMNithin Saji
04/13/2021, 1:15 PMKishore Nallan
04/13/2021, 1:19 PMtypesense/typesense:0.20.0.rc39
Just define a field like this:
{"name": ".*_str_facet", "type": "string", "facet": true}
So any field name ending with _str_facet
will then be treated as a facetable field automatically. This lays the foundation for us to allow schema updates in future for non-dynamic fields from older versions of Typesense.Kishore Nallan
04/13/2021, 1:20 PMNithin Saji
04/13/2021, 1:28 PMNithin Saji
04/13/2021, 2:01 PMKishore Nallan
04/13/2021, 2:02 PMcustomer.name
kinda convention and then search on that. Again, this is something that’s on our roadmap to address.