We are using the Alfresco REST api : https:/[host]/alfresco/api/-default-/public/search/versions/1/search
We have some custom properties like:
"cstprp:dctype":"Procedure"
if we search on it like this :
{
"query": {
"query": "searchTemplate:*Procedure*",
" language": "afts"
},
"include":["aspectNames","properties"],
"filterQueries":[{"query":"SITE:'sitename'"}],
"templates" : [
{
"name": "searchTemplate",
"template" : "(%cm:title OR %cstprp:dctype)"
}
]
}
It will find The documents which have Procedure on cstprp:dctype.
If we however replace the query with :
"query": "searchTemplate:*procedure*" (changed Procedure to a lowercase p)
It will yield 0 results and means it is case-sensitive.
A search on cm:title however is NOT case-sensitive.
How can we turn off case sensitive search for these custom properties in the search ( or in the whole search alltogether)?
Thanks,
Max
I think this is a question about the content repository. Questions about the content repository go under Alfresco Content Services (ECM) . If you agree you should repost there or change the visibility of this question as the content experts currently aren't able to see this question.
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
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.