Contensis CMS search allows contextual search queries to be initiated using a simple user interface. This article outlines how it can be used.
Create a filter
Filters are the core component of a contensis search and are usually made up of three parts.
The property determines what ZenQL should be looking at to begin its search. There are a number of properties to filter content by in Contensis; by text, creation and modified dates, by author, file details such as size or name.
The operator will update based on the property you set, these include values such as Equal To (=), Not Equal to (!=), Less Than (<), Greater Than (>). These operators allow you to refine your search.
Depending on the type of property you are using, the value input will auto-update allowing you to select from drop down lists, tag selectors, using an autosuggest or by simply entering a text or numeric value.
Set the project
If you have more than one project in Contensis you can set the project you want to search against. By default the search will automatically be set to the current project.
- Press the Search icon in the sidebar. The Search area will appear.
- Use the Select Property drop down list in the Filter area to select a property to search on.
- Set the type of operator in the Select Operator dropdown. The property you selected in the first step will determine the operator values that you see. The default is usually Equal to.
- Enter a value. The Value field supports various input types depending on the property. So for example, if you’ve selected a date you will find a date picker.
- Click the Add Filter button to start the search.
Example: Property: Content Type > Operator: Equal to > Value: Image
Extend the search to include multiple filters
By adding one or more filters, you can extend the search further, and then filter the content that is displayed in the search results area.
To do this select a new property, operator and value and then click Add Filter. The filter will be added to the query and the search results will update.
Example: Property: File Size (KB) > Operator: Greater Than > Value: 2048
Edit a filter
Having set up filters to carry out a search, you may want to edit a value or operator you previously set to change the results that are currently displaying.
- Click the filter in the query builder, its colour will change to indicate it’s been selected and the filter values will show in the query drop downs.
- Update values as needed and click Update Filter (was Add Filter) to approve the changes applied to the filter. The search results will update according to your amended filter settings.
Example: Property: File Size (KB) > Operator: Less Than > Value: 1048
Reset the search
If your search query is getting particularly large or does not return the results as expected, click Clear Filters to reset your search criteria.
Use the Export button above the search results to export your current search to a CSV file. This can be useful when carrying out a content audit or for simple reporting.