Tuesday - last edited Tuesday
Hello Alfresco Community,
I'm experiencing an issue with searching for documents in Alfresco Share. Currently, I can successfully search using:
ASPECT:"Audit:Courriers" AND @Audit\:object_:"rapport"
However, I want to know if there's a way to streamline this so I can search for just "rapport" without specifying the aspect each time. Is there a configuration change I can make to enable direct keyword searches on aspects? I’m currently running Alfresco in a Docker container (Alfresco Community Edition version 23.3.0). Any guidance or suggestions would be greatly appreciated!
Thank you!
Tuesday
Hi,
you can check this blog post: https://argondigital.com/blog/ecm/adding-metadata-fields-to-simple-search-and-live-search-with-alfre...
Not really sure would work for @Audit object you have, but those files are the one's used by default.
Hope this helps.
Wednesday
Thank you for sharing this solution. While this approach works well for a limited number of fixed aspects, our use case involves multiple aspects (with more being added regularly by users). Manually updating configuration files for each new aspect would create significant maintenance overhead.
Would there be a more dynamic approach that could automatically include all custom aspect properties in searches without requiring configuration changes each time? Perhaps:
Our goal is a solution that scales with our growing number of aspects without requiring repeated configuration changes.
Do you have any recommendations for this more dynamic scenario?"
Wednesday
As aspects count can grow significantly, it's not configurable in Alfresco as it would have a substantial impact on performances.
You can for sure create an AMP/JAR extensions for Share. I'm not 100% sure, but I would start checking this method: https://github.com/Alfresco/alfresco-community-repo/blob/master/amps/share-services/src/main/resourc...
It should be the one related to query construction before sending it to backend.
Explore our Alfresco products with the links below. Use labels to filter content by product module.