Skip to content

fix: logbook search case insensitive#1432

Open
zan-mateusz wants to merge 1 commit into
apache:masterfrom
zan-mateusz:fix/logbook-search-case-insensitive
Open

fix: logbook search case insensitive#1432
zan-mateusz wants to merge 1 commit into
apache:masterfrom
zan-mateusz:fix/logbook-search-case-insensitive

Conversation

@zan-mateusz

Copy link
Copy Markdown
Contributor

Make both the logger prefix and search phrase filters case-insensitive and consistent across the file and OpenSearch backends.

  • FileLogStore: lowercase both sides of the clazz prefix and message search-phrase comparisons (Locale.ROOT).
  • OpenSearchLogStore: add case_insensitive:true to the class prefix query, which is term-level and otherwise only matches the lowercased indexed terms of the analyzed "class" field.

Make both the logger prefix and search phrase filters case-insensitive
and consistent across the file and OpenSearch backends.

- FileLogStore: lowercase both sides of the clazz prefix and message
  search-phrase comparisons (Locale.ROOT).
- OpenSearchLogStore: add case_insensitive:true to the class prefix
  query, which is term-level and otherwise only matches the lowercased
  indexed terms of the analyzed "class" field.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant