forked from Graylog2/graylog2-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for int values in SearchQuery (Graylog2#4733)
* Add support for int types in SearchQuery Add new SearchQueryField.Type for int and adapt code to support them. * Adapt default search operator to type Using `SearchQueryOperators.REGEX` as default is fine for String types, but it forces users to type an operator on Date and Int types. This commit leaves `REGEX` as default for Strings, but uses `EQUALS` for Dates and Ints, so users can still find values if they only write the value. * Add support for long numbers
- Loading branch information
Showing
3 changed files
with
51 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters