cs-icon.svg

Use Filters

Image-Search-Filter-Published-Environments.jpg

Contentstack offers filters that can be used to further refine search results. The availability of these filters changes depending on whether it is an entry-specific or asset-specific search. Let us understand these search filters.

Search Filters for Entries

Contentstack offers the following filters for entry-specific searches:

  • Content Types
  • Publish Status
  • Tags

Let us understand how to implement these filters.

Content Types

A quick search will directly look through all the content types for the keywords mentioned in the search bar by default. To search for entries within a specific content type, perform the following steps:

  1. Click on the drop-down arrow located beside Content Types.
  2. Select the required content types from the drop-down list. 
  3. Click on Apply to apply the filter to the current search result. The search results will be refined according to the content type chosen. 
    Image-Search-Filter-CTType.jpg
  4. Once done with your search, you can click on ‘Clear’ (X button) to clear the filter.

Publish Status

The Publish Status filter helps you refine the search results based on the published status of the entries. You can search for specific keywords within entries published in a specific environment.

Perform the following steps to use this filter:

  1. Click on the drop-down arrow located beside Published At, Published By, or Published Environment.
  2. Select the publishing environments within which you need to search for the keywords. 
  3. Click on Apply to apply the filter to the current search results. The search results will be refined according to the publishing environment chosen. 
    Image-Search-Filter-Published-Environments.jpg
  4. Once done with your search, you can click on ‘Clear’ (X button) to clear the filter.

Tags

The Tags filter allows you to refine the search results based on the specific tags assigned to your entries. Perform the following steps to use this filter:

  1. Click on the drop-down arrow located beside Tags.
  2. Select the tags you need to run your search on from the drop-down list. 
  3. Click on Apply to apply the filter to the current search results. The search results will be refined based on the tags you chose in the drop-down list. 
    Image-Search-Filter-Tags.jpg
  4. Once done with your search, you can click on ‘Clear’ (X button) to clear the filter.

You are free to toggle between any of these search filters to derive the search results you want. You can also apply multiple filters at the same time to match your specific needs. When done with your search, you can also click on ‘Clear’ (X button) to clear all the filters applied.

Search filters for Assets

Contentstack offers the following filters for asset-specific searches:

  • File Types
  • Publish Status
  • Tags

Let us understand how to implement these filters.

File Types

The File Types filter allows you to refine your search results based on the file type of an asset that you are looking for. The file types include audio, PDF, video, image, document, etc. Perform the following steps to use this filter:

  1. Click on the drop-down arrow located beside File Types.
  2. Select the file types that you need from the drop-down list. 
  3. Click on Apply to apply the filter to the current search results. The search results will be filtered according to the file types chosen.
    Image-Search-Filter-Type.jpg
  4. Once done with your search, you can click on ‘Clear’ (X button) to clear the filter.

The Publish Status and Tags filters work similar to the way they work for entry-specific searches.

You can apply multiple filters simultaneously to refine your search results. All the filters applied will be visible on the results page at the same time. When done with your search, you can also click on CLEAR FILTER to clear all the filters applied.

Was this article helpful?
^