Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The Picturepark search offers 3 search modes. When to use which search mode is explained below.

AND search

The AND search finds content that contains all search terms entered. For example, if you search for “Stock shot” the Picturepark translates it to Stock AND shot and searches for images that contain these two values.

...

OR search

When using the OR search the Picturepark search translates the search term “Stock shot” into “Stock OR Shot and finds content that contains one or more search terms entered

...

Advanced search

The advanced search allows a variety of exact, fuzzy or replacement searches. You can access the advanced search cheat sheet with search examples below. These queries only work in "Advanced Mode". Using these queries allows searching/accessing specific values in specific fields on specific layers. Check the individual syntax per field. 

Filter by label (Content by label)
showLabelsfalse
max50
cqllabel in ( "advanced-search" , "search" ) and space = "SOL"

Simple Search

...

Analyzer

Include Page
TERMS:Search Analyzers
TERMS:Search Analyzers
Expand
titleSimple Search Analyzer

Simple Search Analyzer

(info) access in search queries: simple

The simple search analyzer is a custom Picturepark implementation not using Elastic search defaults. The custom analyzer uses a regex:

  • Regex

    Code Block
    */"(\[^\\p\{L\}\\d\]+)|(?<=\\D)(?=\\d)|(?<=\\d)(?=\\D)|(?<=\[\\p\{L\}&&\[^\\p\{Lu\}\]\])(?=\\p\{Lu\})|(?<=\\p\{Lu\})(?=\\p\{Lu\}\[\\p\{L\}&&\[^\\p\{Lu\}\]\])"/*
  • Outcome:

    • Lowercase / Uppercase

    • Digit / non-digit

    • Stemming

    • HTML Strip

  • Examples

    • Picturepark = Picturepark, picturepark

    • Case Study = Case, Study, case, study

If you want to test the simple search analyzer, you can check your terms in a regex tester to see the outcome.

  1. Open a regex checker

    1. https://regex101.com/

    2. https://regexr.com/

  2. Add your term as a test string

  3. Check the outcome

...