The Picturepark Search is visible in all areas in Picturepark. In the Content Browser or List Item Browser, Picturepark offers search suggestions from the filters of the Channel or List settings that have search fields configured.  The Picturepark Search supports three modes: AND, OR, Advanced with specific query syntax.

If you want to optimize the search results you can update the search settings on specific fields used on Content or List Items e.g. Boosting.

https://www.youtube.com/watch?v=OrsnTUgqfUc&t=4s

Suggestions and Filters

You configure filters for the channel as Content Browser filters. Here you define per filter where it shows up:

  • Enable filter (show as a filter in the right sidebar)
  • Enable search in filter (show as a filter with search in the right sidebar)
  • Enable search suggestion (make this filter a search suggestion)

You can select one, two, or all of the above.

Configure suggestions per Channel
  1. Open the Channel Settings

  2. Scroll to the Content browser filters

  3. Add the Filters you want to have suggestions for. 

  4. Add Search Fields per Filter that are used for offering suggestions. 

  5. Switch on “Enable search suggestions” for the filter

The search in the Content Browser can be optimized by an admin through the configuration of search settings on specific fields used on content items.

Configure suggestions per List for the List Items
  1. Open the List Settings

  2. Scroll to the Filters of the List

  3. Add the Filters you want to have suggestions for it. 

  4. Add Search Fields per Filter that are used for offering suggestions. 

The search in the List Browser can be optimized by an admin through the configuration of search settings on specific fields used on list items.

Create Search in Filters

This behavior also applies to the Search Suggestions in the Content Browser and List Item Browser which use the same logic. 

Search functionality within filter values can propose "suggestions" for the possible values. Depending on the fields on which you are going to filter, their analyzed version will be used: this means that we will have an insensitive casing search and a "like autocompletion" behavior roughly implemented.

Video on how to search inside a sidebar filter.

Each Filter can have one or multiple search fields that should be used for the search in the Filter settings.

Searching

Search Modes

Inside the search, you can switch between the search modes in the top right corner. Your search terms (e.g., Summer Fruit Arrangements) stay when you switch between the modes, the results change obviously. A default mode for all users of Picturepark is not possible; each user can choose their preferred mode. The last search mode used is preserved in your browser's local storage; however and therefore remains selected until manually changed.

Search Query: Summer Fruit Arrangement

By clicking, you can choose from three modes:

  1. AND: find content that contains all search terms e.g., images of summer fruit arrangements

  2. OR: find content that contains any of your search terms e.g., images of summer, images of fruits, images of arrangements

  3. Advanced: find content that has precise criteria, so the user writes how to interpret the search terms, e.g. (Summer Fruit OR Winter Fruit) AND (Arrangement OR Details) NOT Bananas

The Picturepark Content Browser search does not search by default through all metadata. Your system administrator defined the values that should be searchable (field setting "Include in search") and might have excluded some information to improve search results. Please contact your administrator should you have any questions or recommendations about missing search values.

Boost, Fulltext, AND, OR, Advanced

Boost Terms in Search

Finds all contents that are tagged with dogs but are especially interested in large dogs. Use the boost operator ^ in the simple search to make one term more relevant than another e.g. boost large:

large^2 dogs
CODE

Apply the boost operator to multiple terms using quotation marks:

"large dogs"^2
CODE

Boosting in the search helps you define the relevance of your search term. The boost parameter is used to increase the relative importance (boost above 1) for the term or decrease the relative importance (with a boost between 0 and 1), but the increase or decrease is not linear. In other words, a boost of 2 does not result in double the score.

Things to note:

  • Boosting in a list is for the search in fields while tagging.

  • Boosting in layers is for the content search.

  • The boost values one can set in the Pictuepark are created by Picturepark staff. Please let support@picturepark.com know if you require additional boost values.

Search Document Fulltext Only

You can extend any search to document fulltext and/or metadata. You wish to find all of your companies' literature where a certain product is mentioned or any documents that mention the CEO, then simply add the searchType to the URL as a query string parameter.

 //search in fulltext
&searchType=FullText
CODE

Documents contain text. You can do so because Picturepark will read out the text in documents. By default, the simple search in the content browser searches in the metadata and document fulltext. It is possible to change this behavior by appending a query string parameter in the URL. The parameterName is "searchType" and the supported parameter values are:

  • Metadata (only finds hits in Metadata that is available to the search)

  • FullText (only finds values in the FullText)

  • MetadataAndFullText (finds values in both Metadata and Fulltext)

You will not get a hit with an AND search in the simple search if one term is in the Fulltext and one term is in the Metadata. We do not split the terms in the simple search to look through both indexes for partial matches.

//search in fulltext
&searchType=FullText

//search in metadata and fulltext
&searchType=MetadataAndFullText

//search in metadata only (default behavior without search query parameter)
&searchType=Metadata

//URL examples
https://customer.picturepark.com/ContentBrowser/rootChannel?search=ablutophobia&searchType=Metadata
https://customer.picturepark.com/ContentBrowser/rootChannel?search=ablutophobia&searchType=FullText
https://customer.picturepark.com/ContentBrowser/rootChannel?search=ablutophobia&searchType=MetadataAndFullText
CODE


AND Search

Searching for content that contains or references all of your search terms. When looking for summer fruit arrangements, you type: Summer Fruit Arrangement and get images that contain all three terms. Picturepark translates your search into Summer AND Fruit AND Arrangement. So the AND operator is added among all your search terms. You can find the translated search query highlighted in bold at the top of the Content Browser.

The "Simple All"-mode is the default search behavior, and it only allows searching for all terms. Picturepark escapes any special characters and symbols. That means there is no particular function for + - |. Picturepark searches for everything you insert, including reserved characters from the underlying search engine ElasticSearch and Boolean operators that are known to have a particular function (+ for AND, - for Exclusion).

Example: 

  • You search for: Summer + Fruit + Arrangement ?

  • Picturepark translates this: Summer AND + AND Fruit AND + AND Arrangement AND ?

That means you probably find nothing, as usually characters + and ? are not used in the metadata.

OR Search

Searching for content that contains or references any of your search terms. The "Simple Any"-mode is the search mode that delivers the most results as the content needs to match one of the search terms. When looking for fruit content or summer content or arrangements, then type: Summer Fruit Arrangement and Picturepark translate this into Summer OR Fruit OR Arrangement. You find content tagged with summer or fruit or arrangement.


The operator "OR" is added among all search terms, but don't try to write OR yourself. Otherwise, Picturepark adds OR as a search term.

Advanced Search

Picturepark does not apply logic 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. 

Operators in the advanced search are case sensitive and need to be in all caps to work.

  • AND: default behavior, both words must be present e.g., summer AND fruit

  • OR: one search term must be present e.g., summer OR fruit

  • NOT: exclude search terms e.g., summer NOT fruit

Further options:

  • Exact search: find the exact term provided in quotation marks e.g., "summer fruit" (to avoid matches for summer purple fruits)

  • Wildcard searches: find matches that start with summer*

  • Wildcard replacement searches: find matches with s?mmer to find summer and sommer but also simmer

The Advanced Mode allows creating advanced search queries e.g. finding empty fields in layers.

Usage & Limitations

Usage of the Picturepark Search, without suggestions:
  • Shares: searching for shares

  • Lists: searching for lists

  • Layers: searching for layers

  • Virtual Types: searching for virtual types

  • Fieldsets & relations: searching for those

  • File Types: searching for those

  • Users: searching for users

  • Roles: searching for roles

  • Permissions: searching for permission sets

Picturepark Search Limitations
  • The following characters are reserved characters in the Picturepark Search and will be escaped by Picturepark: + - = && || > < ! ( ) \{ \} \[ \] ^ " ~ * ? : \ / \\

  • In Picturepark the wildcard characters * and ? are not allowed as the first character of the query string. Picturepark will notify you if your search string contains them.

  • Trailing spaces will be removed from the search. The search cannot handle trailing spaces and it is assumed they are accidentally pasted into the search bar. 

  • Although each List Item has a unique ID the ID is not available in the search index, so you cannot search for refIds or _targetIds from Relationship fields.

  • The query string in the URL contains all your search criteria. You can just save the whole URL including the query string as a bookmark. The query string is limited to 2000 characters.

For further information, you can check the ElasticSearch documentation. Keep in mind that Picturepark, although it uses ElasticSearch as search technology not all examples from the ElasticSearch documentation, are supported. 

https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-query-string-query.html