Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support term aggregation on non text fields #1689

Open
6 of 7 tasks
PSeitz opened this issue Nov 22, 2022 · 2 comments
Open
6 of 7 tasks

Support term aggregation on non text fields #1689

PSeitz opened this issue Nov 22, 2022 · 2 comments

Comments

@PSeitz
Copy link
Contributor

PSeitz commented Nov 22, 2022

Term aggregation only works on text fields currently.
Extend support for (single and multi-value):

Bucket Key type

u64

  • u64
  • i64
  • f64
  • boolean
  • DateTime

&[u8]

  • bytes

u128

  • ip address
@fulmicoton
Copy link
Collaborator

fulmicoton commented Feb 14, 2024

ETA on bool / ipvaddr? (I don't think we care about bytes all that much)

@PSeitz
Copy link
Contributor Author

PSeitz commented Feb 14, 2024

bool should be simple
for ip addresses we need to change the fast field API to get a u64 representation for the u128 values (which may limit possible codecs), to reuse the aggregation code

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

No branches or pull requests

2 participants