- 🇲🇾Malaysia jonloh
Tried the patch, but unfortunately this does not work well in Multi-lingual setup.
- 🇮🇳India Akhil Babu Chengannur
Thanks for the patch. I have created a new patch with few changes.
- When records are splitted, the current patch removes the splitted value from original record and adds it to splitted records. Instead, the new patch will add the first splitted value to original record and subsequent values to split records.
- It adds a new field ‘parent_record’ in all records to filter out all splits associated with a record. The original record will have ‘self’ as the value in this field, and split records will have ‘node_id:language_code’ as the value. This field is used to delete all splits associated with a record when a node is modified/deleted. It will also help distinguish between the original record and splits if you are building the search UI using JS. The ‘parent_record’ field should be configured as a filter from the Algolia dashboard for this to work.
- Works with multilingual content.
- 🇺🇸United States maskedjellybean Portland, OR
Thank you for carrying this forward! Sadly I no longer have an Algolia project to work with so I can't test the new patch out.