#community-help

Best Way to Store Synonyms in Collection

TLDR Jeremy asked how to store synonyms in a collection. Jason advised creating a new field with values for efficient indexing.

Powered by Struct AI

1

3
3mo
Solved
Join the chat
Aug 11, 2023 (3 months ago)
Jeremy
Photo of md5-f19f9935c88f60757ce1890a15ee20ac
Jeremy
07:23 PM
Another question 🙂
Let's say I have thousands of items. And every single one of those items can have anywhere between 1-10 synonyms.
Would it be better to create a new column in the collection, and populate that column with a space delimited list of the synonyms per item?
Or better to create a synonym for each item?
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
07:24 PM
It would be better to create a new field with those values, so they can be made part of the index
Jeremy
Photo of md5-f19f9935c88f60757ce1890a15ee20ac
Jeremy
07:24 PM
Awesome, thanks for the instant reply!

1