Anchor Search_history Search_history Expand title Use search history.
WSO2 ES is capable of tracking the user search history in the Store search functionality. When assets are searched for in the Store, those search queries are automatically stored in the
/_system/config/users/searchhistory/registry path in a separate file for each user. Therefore, users do not lose their search history results even when the session is destroyed. Furthermore, WSO2 ES maintains the search history based on the asset type (e.g., the search history for gadgets and the search history for sites are different). Therefore, separate search histories for each asset type are available in WSO2 ES.
When you start typing a search query in the provided search text box, a list of matching search history queries are displayedare displayed. Thereby, this allows you to reuse the same search query without completing completely retyping it.
To learn how to enable and disable the search history and also to change the maximum number of entries that is shown in the search history results, see Working with Search History Configurations.
- Carry out a full search.
Enter an actual word, which corresponds to an attribute in an asset, to carry out a full search.
- Carry out a partial search.
Enter part of a word or combine the search criteria with a wild character such as an asterisk (*) or a question mark (?) to carry out a partial search.
The asterisk (*) denotes any and the question mark (?) denotes one character in the search query.
- Search by asset category.
Select the asset category from the All Categories drop-down box. This lists all the assets that belong to the selected category.
Anchor Search_query Search_query Expand title Use keywords in a search query.
The following sections describe the various types of keywords that are used to search for assets in the Store.
The following table describes the general keywords that are used to search for assets.
Keywords Description Example
Use this keyword to search for assets based on the asset name itself.
Use double quotes within the search query, if you are specifying the name of an asset, which includes spaces in between its words.
If you type text without a keyword in the search field, by default the search query uses the name keyword to search for the corresponding assets.
For example, by simply entering BuyMore the search query interprets the entry as follows:
Use this keyword to search for assets based on its asset type (MIME type). The search keywords for out of the box media types are as follows: gadgets, sites. See RXT Configuration Definitions to get more information on identifying the media type of an asset.
Use this keyword to search for assets that correspond to the version that you entered in the search query.
Use this keyword to search for assets based on the tags that are assigned to the assets.
The search query for tags do not allow you to use spaces in-between its words. Therefore, to search using a tag that includes spaces (e.g., new Engineering), use the dash in the search query.
Use this keyword to search for assets based on any text value that is included in the asset attributes. For example, if there is an asset named foo and there is another asset that includes the term "foo" in its description when you carry out a content search using foo (
content:foo), both the latter mentioned assets appear as each asset has attributes that include the search criterion. If you are passing multiple words that are separated by spaces, enclose the sentence within double quotation marks.
content:"Chart is used"
Use this keyword to search for assets that include the lifecycle, which you entered in the search query.
Use this keyword to search for assets that are in a particular lifecycle state.
Use this keyword to search for assets that are created by the author, which is specified in the search query.
Use this keyword to search for assets that were last updated by the author that is specified in the search query.
Use this keyword to search for assets that belong to the specified category.
Keywords Description Example
Use this keyword to search for assets based on the
ShortNameof the artifact type. The search keywords for out of the box media types are as follows: gadgets, sites. For example, if the RXT has the following code snippet, the mediaType search query should appear as follows:
<artifactType hasNamespace="false" iconset="9" pluralLabel="Events" shortName="events" singularLabel="Event" type="application/vnd.wso2-events+xml"> </artifactType>
For more information, RXT Configuration Definitions.
Use asset attributes when you dynamic keywords to search for assets by asset attributes that are given in the RXT field value. For information on the table and field names of a configurable RXT file, see RXT Configuration Definitions.
You do not need to specify the
overview_) when searching for values in fields of the
category) as it gets automatically appended in to the search query. Therefore, you can type the above search query as follows: category:Engineering
You can use a space in between the keywords in the search query when you need to use a combination of keywords to search for an asset.
For example, you can search for version 1.0.0 of the Pinterest asset, by typing the following text in the provided search text-box.