Skip to content

No results in wildcard searches when missing first letter #2648

Open

Description

@niklastha

We encountered a problem when using the raw filter with wildcard
It seems like there needs to be at least the first letter of the wanted string to get results with the substring.:

Image Image

Activity

  1. niklastha commented on Oct 8, 2026

    @niklastha
    Author

    Additional info:
    There was an error in the Exceptionless-Web-Log providing the problem with the query
    "allow_leading_wildcard" is set to false in the post request to elasticsearch
    without that, going against elasticsearch itself, the results are correct

  2. niemyjski commented on Oct 8, 2026

    @niemyjski
    Member

    Thanks for the update and for tracking down the Elasticsearch setting. We’ve historically disabled leading wildcard searches, which can be expensive and affect overall system performance. We’ll discuss this further with the team before making any changes.

  3. niklastha commented on Oct 9, 2026

    @niklastha
    Author

    I understand. Maybe a setting to enable for self hosters would be nice, if performance is the only concern

  4. niemyjski commented on Oct 13, 2026

    @niemyjski
    Member

    It's insanely expensive, Any reason you couldn't do this search without the leading wildcard? Like use a custom property? We might be willing to accept a pr for this as long as it defaults to off. Just want to make sure we lead anyone turning this on down the right path.

  5. niklastha commented on Oct 13, 2026

    @niklastha
    Author

    In our case its about searching through the error-log messages of a scheduler with several steps where the suspect of the job (a tablename with underscores) was only mentioned in the message
    With log messages custom properties would be no problem, but with error messages its a lot more complicated for us
    I searched through the exceptionless repo but did not find the spot where the wildcard option was turned off, so I can't really provide a pr as I guess the option is set somewhere in the foundatio dependencies of exceptionless.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions