cofoundry
cofoundry copied to clipboard
Custom Entity Partitioning & Taxonomy
Is there a way we can categorize custom entities to make them easier to search and partition. The sample site example is for blogs so that we can have a category and tags associated with a blog and then search/partition based off that. It would also be good to be able to collate stats off of that e.g. num blog posts per category.
One way is to build a search index off of the unstructured data and include any partitioning keys there. This is something we should have anyway to allow decent searching of content in the admin panel. The index could be in-memory by default and extensible with lucene/ElasticSearch for scaleability.
Another way could be to use the existing tag system or as part of a wider taxonomy implementation, but that needs a bit more thought.
Currently the UnstructuredDataDependency table can be used to query this sort of data and might be of use in a more formal solution.
Note: Currently Tags can be used to group images and documents to make them easily searchable and we have previously had the concept of Page Groups as a way to categorize Pages but is no longer implemented.
+1 for this in separate feedback:
I'm wondering is it's possible to have user settings for page modules or custom entities. By user settings, I mean settings that a content editor can specify on a per instance basis. For example, you can define a blog post type which has taxonomy as one of the properties. Would it be possible for a user to add a list of blog posts to a page, but filter the list to only posts with a particular category? Or limit the list to x number of posts? Obviously, a developer can specify these things in the controller, but I would like to give this ability to non-developers.