As you know, Pics.io saves the original metadata associated with assets and allows adding additional metadata to better identify your assets. Well, we have gone even further. You can narrow down your search by specifying information from the metadata that can be seen and edited in the Infopanel.

Searching by metadata has some peculiarities depending on the format of the metadata field.


TEXTS AND NUMBERS

To perform search by metadata, whose values are written as texts or numbers, please use the following formula:

meta.CustomFieldName: SearchQuery

Let us give you a couple of examples to illustrate how it works.

Example 1. You need to find assets that were created by artists from Canada. You and your team have agreed to save this kind of info in the custom field called CreatorCountry. In this case, your search query will look like this:

 meta.CreatorCountry: Canada

Example 2. You want to find all images with a width of more than a 1000px. You have a default custom field ImageWidth, so your search query will look like this:

meta.ImageWidth:>1000

NB. Please note that search by metadata does not recognize spaces between meta and custom field, so make sure your query does not have any. If there are two words, just use the backspace key to remove the space between the words. 

e.g. meta.Customfield


If you need to find the assets where a custom field is empty and never set, the search query should look like the following:

NOT _exists_:meta.ExampleCustomField

It's also possible to search for the assets where a custom field has existed before, but now is set to empty. Keep in mind that .keyword here doesn't refer to Pics.io keywords, but it's just a part of search engine syntax. The search string should be:

meta.ExampleCustomField.keyword:""

Just like with all other search methods, you can apply Boolean search techniques here as well.  e.g.  meta.CreatorCountry: Canada AND meta.City: Brockville

CHECKBOXES

Sometimes you may want to find assets by a custom field that has the form of a checkbox. For example, you have a checkbox called OriginalMedia, which can be checked or unchecked. If you need to retrieve all assets that belong to original media (i.e. the checkbox is checked), you search query will look like this: 

e.g. meta.OriginalMedia: true 

To search for checkboxes that were not enabled, simply type NOT before your search query.

e.g. meta.OriginalMedia: not true 

 

SEARCHING BY DATES

Searching for assets by custom fields that contain dates (e.g. PublishDate or ModifyDate) is not an uncommon task. Here are some ideas how you can make your search more versatile and efficient. 

Let’s take custom field PublishDate for example, which contains a date saved in the local date format.

  • If you’re looking for the exact date, your query will look like this: meta.PublishDate: 2017-01-01
  • You can search by a date range as well, e.g.  meta.PublishDate:[2015–01–01 TO 2015–12–31]
  • If you want to search by a date range until the present day, use the word NOW. e.g. meta.PublishDate:[2015–01–01 TO NOW]
  • To find inclusive dates, use brackets [...] in your query, e.g. PublishDate:[2015–01–01 TO 2015–12–30]
  • To find exclusive dates, use braces {...}, e.g. meta.PublishDate:{2015–01–01 TO 2015–12–30} Pics.io will retrieve assets published between January 2 and December 29.
  •  If you put an asterisk (*) instead of a date after TO, meaning that there is no end date to your search, e.g. meta.PublishDate:[2015-01-01 TO *]

LIST SEARCH

If you need to search for the assets by a specific value from the list, in the search field type: 

meta.ListName: Option1

In case you need to find all the assets where this custom field with the List type is empty or never set, the search query should look like the following:

NOT _exists_:meta.ListName

As well, you may search for the assets where List custom field has existed before, but now is set to empty. The search string should be:

meta.ListName.keyword:""

As you can see, Pics.io provides endless search possibilities. The sky's the limit. You can mix and match these techniques to make your search even more precise. 

 

Did this answer your question?