umbraco / Umbraco.Cms.Integrations

MIT License
31 stars 20 forks source link

Feature: Change Record.Path to be a list of strings #181

Closed SebastianFalborg closed 3 months ago

SebastianFalborg commented 3 months ago

Description Right now the Path property on Record is a string. The Path property in the Record class is retrieved from the Path property in the IContent class. The Path is a comma separated list of ids, and looks something like this "-1,2289,2290,2748".

As it is now. You can't do any filtering by path, because you can't do custom searches like that in Algolia. By changing the Path property to a List of strings, you can do better searches, by filtering using path.

Examples for this could be