I tried searching a remote and a virtual repository in artifactory, and it is returning empty list, even though the artifacts are present in the repository.
My rest API looks like this: https://artifactory_url/artifactory/api/search/artifact?name=*.*&repos=repo-name
When searching for artifacts in local repository, it is returning proper results.
For virtual repository, the following property : Can Retrieve Remote Artifacts : true
For remote repository, the following property : List Remote Folder Items : true
The Artifactory search API is limited to searching artifacts which are physically stored in Artifactory:
Artifactory does not have the ability to propagate the search queries to the external repositories (with the exception of a remote Maven repository proxying JCenter). The is an open feature request to support this in the JFrog Jira.