Use Filters

Contentstack offers a few 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.
    Select Content Type.jpg
  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.
  4. Once done with your search, you can click on Reset to clear the filter.
    Select Reset.jpg

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 Publish Status.
    Select Publish Status.jpg
  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.
  4. Once done with your search, you can click on Reset to clear the filter.
    Select Publish reset.jpg

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.
    Select tags.jpg
  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.
  4. Once done with your search, you can click on Reset to clear the filter.
    Select tags reset.jpg

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 FILTER to clear all the filters applied.

clea_filters.jpg

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.
    File Type.jpg
  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.
  4. Once done with your search, you can click on Reset to clear the filter.
    File Type Reset.jpg

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.

More articles in "Basic Search"

On This Page

top-arrow