Graylog2 / Graylog2/graylog2-server

SearchQueryParser support for multiple default fields

Open
#24,376 0 comments 0 reactions 1 assignee Claimed by @rich-graylog View on GitHub
feature triaged
Dominant language
Java
Stars
8.1k
Forks
1.1k
Avg merge
1d 20h
Merged PRs (30d)
217

Description

## What?
Add support for multiple default fields in SearchQueryParser.

## Why?
SearchQueryParser currently supports only one default field, but people regularly think that the query/search is broken, because they try to search in multiple fields without specifying which one they are using, by simply putting the searched-for word into the query input.

The amount of fields is usually very limited and this parser is used in collections with very low number of items. So even if we'll search in all possible fields at once, the performance should still be ok.

This will greatly simplify the search and the UX of the entity tables.

![Image](https://github.com/user-attachments/assets/32128cdc-73fc-4ee2-b8ee-704ea8406922)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.