Search for Artifacts (SaaS)
Note
This content describes features in Artifactory SaaS. The new Artifacts search experience is available on a gradual rollout from Artifactory SaaS version 7.151.0.
For information about searching for Artifacts in self-managed instances of Artifactory, see Apply Artifact Filters (Self-Managed).
On the Artifacts page, you can search for repositories, folders, and artifacts in JFrog Artifactory. The following information explains how to search for items in Artifactory from the Artifacts page:
- Tips for Searching Artifacts
- Search Artifacts
- Keyword Search
- Understanding Search Patterns
- Wildcards
- Keyboard Shortcuts
- Limitations of Artifact Search
Tips for Searching Artifacts
-
Understand search patterns
You can use the following methods to find items in Artifactory:
- Single name:
mavenfinds all repositories, folders, and artifacts whose name starts withmaven. - Path:
libs-release/org/release-1finds items matching that path. Any path with/works, whether it starts from a repository or a subfolder. - Multiple names:
maven org release-1finds all repositories, folders, and artifacts whose path matches all names in any order.
You can also select Exact matches only to return only exact results for your query. For more information, see Understanding Search Patterns.
- Single name:
-
View recent searches
Recent queries and last visited results appear in the search bar. You can remove queries and results from the list.
-
ββScope your search with keywords
Use keywords to narrow your search by a specific scope:
repo:scopes your search to a specific repository. For example,repo: docker-local.path:scopes your search to a specific folder in a repository. For example,path: my-app/1.0.0.sha:allows you to search directly for artifacts by checksum. For example,sha: sha123456. You must search for a complete checksum. Results are not returned for partial matches.
Combine these keywords to run targeted searches. For more information, see Keyword Search.
Tip
To search inside a virtual repository, you must use the
repo:scope. Without specifying scope, the artifacts appear in search results in the originating local repository or local cache of the remote repository.You can also scope your search by selecting the relevant location in the tree. Once selected, the Find in: option appears in the search bar with the selected scope.
-
Use prefix matching and wildcards
The Artifacts search supports prefix matching by default. You can type the first few characters of a name to find matching items, without adding an explicit
*wildcard character. For example, βartβ andβartifβ both return βartifactββ. β You can add the wildcard character*in your search term for advanced pattern matching. For more information about wildcard behavior, see Wildcards. -
Use search suggestions
Search suggestions appear when you type at least four characters, showing up to five results. Select one of the suggestions to populate the search bar and view the item in the tree. Press Enter or click Show all results to view full search results.
-
Apply filters
You can narrow down which items appear in the tree view by using filters. Filter by repository name, repository and package type, or favorites. You can also apply filters to your search results. For more information, see Apply Artifact Filters (SaaS).
Note
You cannot filter search results by virtual repositories. To search in a virtual repository, use the
repo:keyword. For more information, see Keyword Search. -
Use keyboard shortcuts
You can use keyboard shortcuts to navigate the search experience more easily:
- Cmd+K or Ctrl+K: Auto-focus on search
- Enter: Run search and show results, or select a highlighted suggestion.
- Arrow keys: Focus and navigate through suggested searches
- Space: Lock existing repository or path in the search bar
- Esc: Close suggestions without selection
Search Artifacts
The Artifacts search acts across all repositories at once and provides advanced tools like keywords, filters, suggested search, and wildcards to help you find what you're looking for.
To search for Artifacts:
-
In the βPlatformβ module, navigate to βArtifactory > Artifactsββ. The Artifacts page opens and displays the tree.
-
Optionally, apply filters to make browsing easier and refine which results appear in the tree. For more information, see βApply Artifact Filters (SaaS)ββ.
-
Enter a search term in the text box:
-
Enter the full or partial name of an artifact, repo, or folder. You can enter one or more names. You can also search for file paths. For more information, see βUnderstanding Search Patternsββ.
-
Optionally, use β
repo:ββ, βpath:ββ, or βsha:βto scope your search to a particular repository, path, or checksum. For more information, see βKeyword Searchββ. -
You can use β
*as a wildcard for advanced pattern matching and searching across folder levels, like β<repo_name>*<artifact_name>ββ.Note
Artifacts search supports prefix search only. The wildcard must be at the end of a word or a stand-in for an entire path segment, not at the beginning or in the middle of a word.
-
-
Optionally, select Exact matches only to limit search results to exact matches. For example, searching for exact matches for
docker-localreturns only repositories, artifacts, or folders calleddocker-localand omits any items whose name only containsdocker-local. -
Press Enter. The search results appear in a table.
-
Optionally, do any of the following to customize your view of the search results:
-
Select βCustomize Columnsββ and choose which columns to display in the search results table.
-
Select βFiltersββ and apply filters by item type, repository type, package type, or item creation or modification.
Note
You cannot filter search results by virtual repository type. To search in a virtual repository, use the
repo:keyword. For more information, see Keyword Search.
-
-
For any item in the search results, select the actions button and click any of the following actions. Available actions may vary based on item type and user permissions:
- ββShow in Artifacts Treeββ: Exit the search results table and show the selected item in the tree.β
- Add to Favorites or Remove from Favorites: Add or remove a repository from your list of Favorites. You can filter the tree by favorites to find favorite repositories easily.
- ββDownloadββ: Download the item.
- Deleteββ: Delete the item. This option is available only for folders and artifacts.
-
To return to the tree view, select the arrow next to Search Results or use the breadcrumb navigation.
Keyword Search
You can use the following keywords to scope your search:
-
ββ
repo:ββscopes your search to a specific local, cached remote, virtual, or federated repository.The
repo:scope supports one repository only. To see results from multiple repositories, run a regular search without using keywords. -
ββ
path:ββ scopes your search to a specific folder in a repository.You can only use
path:after specifying arepo:scope.path:cannot be used independently. -
ββ
sha:ββ allows you to search directly for an artifact by checksum.
The following table provides examples of search terms with keywords for the scope βnpm-local/new-folder/my-app-1.0.0.tgz with a checksum <sha>ββ.
Search Term | Results |
|---|---|
|
|
|
|
ββ |
|
|
|
ββ |
|
Understanding Search Patterns
This section explains search patterns using the example scope βnpm-local/new-folder/my-app-1.0.0.tgz and SHA value of sha123456ββ. In other words, an artifact called βmy-app-1.0.0.tgzβ with a checksum β<sha>ββ, located in folder βnew-folderβ in the βnpm-localββ repository.
Searching by Path
The following table provides examples of path-based searches for the scope βnpm-local/new-folder/my-app-1.0.0.tgz.
Search Term | Results |
|---|---|
|
|
|
|
|
|
ββ |
|
|
|
ββ |
|
| No results |
| No results |
Searching Multiple Names
The following table provides examples of multiple name searches for the scope βnpm-local/new-folder/my-app-1.0.0.tgz.
Search Term | Results |
|---|---|
|
|
|
|
Searching a Single Name
The following table provides examples of single name searches for the scope βnpm-local/new-folder/my-app-1.0.0.tgzββ.
Search Term | Results |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
Wildcards
When using the explicit *wildcard character, the following rules apply:
- Prefix search only: The wildcard must be at the end of the search term, not in the beginning or middle. For example,
art*returnsartifact. This search is equivalent toartwithout the explicit wildcard. - Full path segment: You can use a wildcard as a placeholder for a full path segment. For example,
<repo_name>/*/<artifact_name>returns artifacts under any folder inside the specified repository. In this position,*matches across folder levels, including the/character. - Word separators: Certain special characters are treated as word separators in search.
- Hyphens
-split a name into separate search tokens. For exmample,my-appis equivalent to searching formyandapp.As a result, an item namedmy-applicationmatches the querymy-appbecause both tokens match as prefixes. - Dots
.are not treated as word separators. A search term likeartifact.jaris matched as a single token.
- Hyphens
Keyboard Shortcuts
The Artifacts page supports keyboard shortcuts for faster and easier searching. The following table lists supported keyboard shortcuts and their functions.
Shortcut | Function |
|---|---|
Cmd+K or Ctrl+K | Focus on search box |
Enter |
|
Esc |
|
Space | Lock existing repository or path in the search box |
Arrow keys | Focus on suggested searches |
Limitations of Artifact Search
The following limitations exist when searching for artifacts in the tree:
- Prefix search onlyββ: Prefix search is the only supported search mode for wildcards. This means that wildcards must be used at the end of a word or as a stand-in for a whole path segment, not as leading wildcards or in the middle of a phrase. For example, β
artβ returns βartifactβ but βactβ doesn't return βartifactββ. - Sorting search resultsββ: The sorting order of search results is fixed. Results are sorted by item type (repositories, folders, artifacts) and then by modified time. You can apply filters to narrow search results but you can't change the sort order.
- Searching archive filesββ: Items within an archive file do not appear in search results.
- Repository search scopeββ: Searching in virtual repositories is only supported using the
repo:scope. Searching without this scope returns items in their origin repositories, either local, federated, or cached from remote. - Checksum searchββ: The β
sha:β keyword supports only βequalsββ, not βcontainsββ. This means that you must search for a complete checksum value to get results, as partial checksums do not return results. repo:scope: Searches can be scoped to only one repository at a time.- Suggested search: To get search suggestions, the search term must be at least four characters long.
Updated about 10 hours ago
