01-27-2021 04:09 AM
How Can I create case insensitive lucene/fulltext query?
var argsSearchTermCustom="demo";
var query='PATH:"//app:company_home/st:sites//*\" AND @CM\\:name:*'+(search.ISO9075Encode(argsSearchTermCustom))+'* AND TYPE:\"cm:content\"';
var queryDef = {
query: query,
language: "fts-alfresco"
};
var childNodes = search.query(queryDef);
for each (var result in childNodes)
{
logger.debug("------------------------"+ result.properties.name+"\n");
}
01-27-2021 05:41 AM
This may be a locale issue?
HTH
Explore our Alfresco products with the links below. Use labels to filter content by product module.