Hi there,
Does anyone know the correct SOLR (fts-alfresco) search syntax when you want to search multi-valued properties?
I have a multi-value text property defined in my content model called msc:keywords and I want to find all documents where any msc:keywords = 'alfresco'
I'm using the Node Browser to enter the query.
Thanks
Paul
It's seems you‘d like to search a property.
you can try this:
@msc\:keywords:"alfresco"
also you can specify TYPE, ASPECT or PATH:
TYPE:"sc:type_name"
ASPECT:"sc:aspect_name"
PATH:"/app:company_home/cm:test"
If you want to match both:
+@msc\:keywords:"alfresco" +TYPE:"sc:type_name"
or
@msc\:keywords:"alfresco" AND TYPE:"sc:type_name"
math one of them:
@msc\:keywords:"alfresco" TYPE:"sc:type_name"
or
@msc\:keywords:"alfresco" OR TYPE:"sc:type_name"
Did you tried this approach?
https://docs.alfresco.com/ags/tasks/rm-search-multiple.html
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.