Searching Assets and Collections

Searching Assets and Collections

The user can perform a simple text search in the search bar: 

1r.jpg

The search bar supports two search modes: by asset and by collection. Use one of the following methods to switch between the modes:

  • The selector to the right of the search bar before or after entering a search query and before clicking Screenshot_2021-03-25_at_10.30.53.png.
  • The mode will automatically change when you switch from the asset feed to the collection feed, and vice versa.

Assets/collections are searched for by all properties, except for logical properties and properties like "Date," "Date and time."

You can enter a word in the search box to find all assets/collections where the word is mentioned in one of the properties above. 


Logical operators

You can use Boolean logic to perform more complex search tasks. To do this, include logical operators in your search query:

  • && — AND
  • || — OR
  • ! — NOT

Rules for using logical operators:

  • Construct a search query in the following format: Word Operator Word. For example: test && lakes.
  • The operator must be separated by a space on both sides.
  • You can use brackets () to build complex queries that include several operators. For example: (test && lakes) || (test && mountains)

An example of a query using &&.

The "chirch" query gives us all the images that have the word "chirch" in them.

2r.jpg

Using the &&(AND) operator allowed us to reduce the number of assets in the search result and get only the assets that have both "chirch" and "white sea" in their property values. 

3r.jpg


Wildcard

You can also use wildcard operators together with or separately from logical operators in search queries:

  • ? replaces any one character after the word entered in the query.
  • * replaces any number of any characters in a row after the word entered in the query.

An example of using a query with a wildcard character: 

11r.png


And here is an example of using a logical operator and a special character together:

4r.jpg

Text search can be used in combination with asset/collection filtering by applying filtering before or after text search. Search and filtering results can also be sorted.




    • Related Articles

    • Filtering Assets and Collections

      Filtering allows you to search for assets and collections by the values of specific properties rather than by all properties at once, as with text search. To filter assets/collections, open the filter panel by clicking the icon to the right of the ...
    • Sorting Assets and Collections

      How assets/collections are sorted affects the order in which they are displayed in the feed. The sorting method is selected using the Sort switch under the search bar. Both assets and collections have their own sorting types. In addition to sorting ...
    • Creating Collections

      To create a collection: Select one or more assets in the asset feed Open the left sidebar and click on "Create collection". Type the name of the collection and press Enter. You can create several collections with the same name. Once the system has ...
    • Deleting Collections

      To delete a collection, do the following: Select one or more collections from the collection feed. At the bottom of the screen, you will see the bulk actions panel. Press Delete. Once a collection is deleted, it no longer appears in the feed. ...
    • Creating, Editing and Deleting Properties for Assets and Collections

      It is possible to edit or delete the properties of assets and collections, as well as to create new ones. How to create a new property for an asset or a collection In the admin panel go to the Content section and find the Props subsection there. ...