ARTIFACTORY: How to make the return value of the search on the UI case-sensitive, the same as the AQL

ARTIFACTORY: How to make the return value of the search on the UI case-sensitive, the same as the AQL

AuthorFullName__c
Yunzong Guo
articleNumber
000006291
FirstPublishedDate
2024-12-30T18:52:12Z
lastModifiedDate
2025-08-01
Description 

In Artifactory 7.X, when you search for a file on Artifactory UI, it is case-insensitive by default. For example, there are two files abc.py and Abc.py, if you search for abc.py, it returns "abc.py" and "Abc.py":

User-added image 

This is different from the Artifactory AQL, which is case-sensitive by default, such as:
curl -uadmin:password -H 'Content-Type: text/plain' -X POST 'http://<localhost:8082>/artifactory/api/search/aql' -d 'items.find({"repo": "example-repo-local", "name" : {"$match" : "abc.py" }})'
Returns:
{
"results" : [ {
  "repo" : "example-repo-local",
  "path" : ".",
  "name" : "abc.py",
  "type" : "file",
  "size" : 416,
  "created" : "2024-12-19T06:29:33.167Z",
  "created_by" : "admin",
  "modified" : "2024-12-19T06:29:33.167Z",
  "modified_by" : "admin",
  "updated" : "2024-12-19T06:29:33.269Z"
} ],
"range" : {
  "start_pos" : 0,
  "end_pos" : 1,
  "total" : 1
}
}
Only abc.py returned.

If you want to get the same return value on the UI which is case-sensitive as the AQL, how can we configure it?


Resolution 

You can add the following parameter and the value is false(It's true by default).
1. Edit the configure file $ARTIFACTORY_HOME/var/etc/artifactory/artifactory.system.properties, add:
artifactory.ui.search.artifacts.caseInsensitive=false
2. Restart the Artifactory.

3. Search "abc.py"  again on the UI:

User-added image 

It will only return "abc.py".