How this Helps

Caption Search directly matches queries to labels and captions, relying on exact or logical matches to surface content. It’s ideal for precise searches where explicit labeling is crucial.


Caption Search Operators

Visual Layer supports several search operators to help you build flexible, accurate caption queries:

OperatorDescriptionUsage Example
AND OperatorFinds results that contain both terms.black AND cat, black and cat, black + cat, black cat
OR OperatorFinds results that contain either one term or the other—or both.black cat OR black dog, black cat or black dog
NOT OperatorExcludes results containing the specified term.dog -black
Exact MatchMatches results with the exact phrase, wrapping terms in double quotes."yellow flower"

Combining Operators

You can combine operators to write more advanced queries.

  • Example:
    flower -bird OR tree AND "red leave"

  • Result:
    This query includes:

    • Any caption that includes “flower” but not “bird”
    • Or includes “tree”
    • And must also include the exact phrase “red leave”

Use quotes and parentheses to group logic and ensure the query works as expected.