06-11-2020 01:15 PM
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
06-11-2020 11:24 PM
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"
06-12-2020 05:09 AM
Did you tried this approach?
https://docs.alfresco.com/ags/tasks/rm-search-multiple.html
Explore our Alfresco products with the links below. Use labels to filter content by product module.