AnsweredAssumed Answered

Alfresco REST Search api case sensitivity query

Question asked by maxverhoeven on Mar 8, 2018
Latest reply on Mar 8, 2018 by ryandawson

We are using the Alfresco REST api : https:/[host]/alfresco/api/-default-/public/search/versions/1/search


We have some custom properties like:



if we search on it like this : 


   "query": {
      "query": "searchTemplate:*Procedure*",
      " language": "afts"
   "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)?