Search

The Picturepark content browser search has been configured by your administrator. Please contact your administrator should you have any questions or recommendations. Two different searches are supported by CP.

The Relevance sort order is only meaningful when performing a search. We do not remove the relevance option when you don't have a search active, as otherwise you would have to reset it after each search. You cannot sort via relevance ascending. It will always be in order of most relevant first. Currently the relevance is not accurately working for results from extracted metadata matches only. This will be fixed in a future version of Picturepark.

Simple Search

  • This search is the default search and it escapes all reserved characters and Boolean operators and adds the "AND" operator among all search terms.

Advanced Search

  • No logic is applied on top of the advanced search. The user is fully responsible for writing a query supported by ElasticSearch. Therefore, for example, they must insert the "AND" boolean operator among the terms if that is their intention. This search is only enabled if the user clicks on advanced - a default cannot be configured for all users of a Picturepark. The last search mode used is preserved in your browsers localstorage however.

Boolean Search Operators

You may find the following Boolean search operators that can be used in the Advanced search in the Content Browser useful for narrowing down your results. The query language works for metadata and fulltext:

In the current version of Picturepark operators in the advanced search are case sensitive and need to be all caps to work.

AND

The AND operator is default in Picturepark and does not need to be written. It is inclusive and thus limits your search. For example if I want to find all content that is tagged with both dogs and cats then you can search for either:

  • dogs cats

  • dogs AND cats

Picturepark will deliver results from those fields that are included in the search where BOTH words are present.

OR

The OR operator is inclusive and typically broadens your search results. For example if you want to find contents that are tagged with dogs or cats or both you could search for:

  • dogs OR cats

Picturepark will deliver results from those fields that are included in the search where contents contain either word or both words.

Exact Search

Both single ' and double " Quotation marks can be used when searching for exact phrases of more than one word. For example if you would like to find contents where the exact phrase "I love dogs" is present you would search for

  • "I love dogs"

  • 'I love dogs'

NOT

The NOT operator is exclusionary and excludes specific terms so that the query won't return any results with those words in them. For example if you want to find all contents that is tagged with dogs but NOT cats you could search for:

  • dogs NOT cats

Wildcard searches

Picturepark supports both * (to replace 0 or more characters) and ? to replace a single character wildcard searches. Picturepark does not support leading wildcards i.e. wildcards at the beginning of the search for example *man or ?man. You can escape them ( \*, \? ) to search for the exact character. Please note that a wildcard will also be designated as being a leading wildcard if there is a space in front of it in the search query due to how the search tokenizes the search string.

Picturepark always adds a wildcard to the end of a one word search string.

Capitalisation of Letters in a field

The language analyzer and simple analyzer will split capitalized letters in a search. For example:

DogHouse will be found with Dog and House or dog and house.

Using _ in between the letters in a field

Both the language analyzer and the simple analyzer will split _ letters in a search eg: Dog_house will be found with Dog and House or dog and house or Dog_house, dog_house.

Using numbers in the middle of words in a field

Both the language analyzer and simple analyzer will split numbers in a search eg: Dog22house will be found with Dog and House and 22 and 2 and ho and do or dog and fight and 22 and 2 etc.

Hyphenation

Depending on whether or not you are using translated fields the hyphenation handling will be different for each language. In English for example the hyphenation is dropped.

Reserved Characters:

If you need to use any of the characters which function as operators in your query itself (and not as operators), then you should escape them with a leading backslash. For instance, to search for (1+1)=2, you would need to write your query as \(1\+1\)\=2.

The reserved characters are: + - = && || > < ! ( ) { } [ ] ^ " ~ * ? : \ /

A failure to escape the above special characters correctly could lead to your search not finding any results.

< and > can’t be escaped at all. The only way to prevent them from attempting to create a range query is to remove them from the query string entirely.

Special Characters

Boosting in the search query

Users can use the boost operator ^ in the simple search to to make one term more relevant than another. For example if you want to find all contents that are tagged with dogs but are especially interested in large dogs:

  • large^2 dogs

Boosts can also be applied to phrases or to groups for example if you would like to boost the term large dogs:

  • "large dogs"^2

Checkboxes

You currently cannot use the content browser search to search for checkboxes. If you have a checkbox for which you require results then please contact your Administrator who can make a filter for you.

Date time

You currently cannot use the content browser search to search for entries in Date or Date/Time fields. If you have a Date or Date/Time field for which you require results then please contact your Administrator who can make a filter for you.

Extracted Image Metadata

Picturepark will search through the Extracted Image Metadata if your Administrator has configured the search to do so. If you are an administrator please see Extracted Metadata.

Letter Case

The search analyzer has a to lowercase function. Therefore a search for Dog will also find dog, DOG, DoG etc.

Full Text

Picturepark will search through document full text. This cannot be turned off. See FullText.

Specifying fields in the query syntax

It is possible to specify fields and languages in the query syntax. For example the below would show you all the content items that have a layer applied called layer that has a term in the English language for the translated text field called field but does not have a translation in the same field for the german language:

+_exists_:layer.field.en AND -_exists_:layer.field.de

Languages

If you do not specify a language in the search query string Picturepark will currently search through all languages. This cannot be configured.

If you use the language analyzer on a field then in the German translation an umlaut query string can be replaced with oe. For example if in the German translate text field you have the term Björn then this would also be found using Bjoern in the simple search as well as Björn.