Skip to content

    Wildcard search

    Data integration & searchPlaceholder query
    Reading time: 2 min.Editorially reviewed on:

    Definition

    Placeholders find multiple spelling variants with a common search pattern instead of an exact term.

    A placeholder search replaces parts of a search term with special characters. In Elasticsearch, for example, * stands for any number of characters and ? for exactly one character. The exact syntax depends on the search system. Placeholders are simpler than regular expressions and should not be equated with their syntax.

    Simply explained

    You only know part of a name. A placeholder tells the search that different characters may appear at a certain position.

    Why it matters in practice

    Teams can collectively find similar file names or identifiers, provided they know the search syntax and the field being searched.

    Example from business

    Possible example: A support team searches in a suitable identifier field with kunde* for records whose identifier begins with the same character sequence.

    Limits and pitfalls

    • Leading placeholders can make search queries more expensive. Capitalization, word splitting, and supported characters vary by tool; patterns should be tested with known hits.

    Origin & history

    Placeholders belong to pattern-based search in file systems and search tools; their meaning is tied to the respective query language.

    Use in mid-sized companies

    • A company can document and limit common search patterns for article numbers so that employees get relevant hits without unnecessarily searching large data sets.

    Frequently asked questions

    Is * the same everywhere?

    No. Placeholders only work according to the rules of the respective search system; in regular expressions, * has a different role.

    Sources

    Editorially reviewed on:

    On this page

    Next step

    Put knowledge into practice