Skip to content

Conversation

@dnhatn
Copy link
Member

@dnhatn dnhatn commented Jul 11, 2025

This change speeds up reading multi-valued keyword fields by leveraging ordinals.

Before:

Benchmark (layout) (name) Mode Cnt Score Error Units ValuesSourceReaderBenchmark.benchmark in_order keyword_mv avgt 7 318.332 ± 1.660 ns/op 

After:

Benchmark (layout) (name) Mode Cnt Score Error Units ValuesSourceReaderBenchmark.benchmark in_order keyword_mv avgt 7 96.659 ± 0.932 ns/op 
@elasticsearchmachine
Copy link
Collaborator

Hi @dnhatn, I've created a changelog YAML for you.

@dnhatn dnhatn requested review from Copilot and nik9000 and removed request for Copilot July 11, 2025 05:08
@dnhatn dnhatn marked this pull request as ready for review July 11, 2025 05:09
@elasticsearchmachine elasticsearchmachine added the Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) label Jul 11, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-analytical-engine (Team:Analytics)

This comment was marked as off-topic.

@dnhatn
Copy link
Member Author

dnhatn commented Jul 15, 2025

Thanks Nik!

@dnhatn dnhatn merged commit c2fa78f into elastic:main Jul 15, 2025
33 checks passed
@dnhatn dnhatn deleted the read-ordinals-set branch July 15, 2025 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Analytics/ES|QL AKA ESQL >enhancement Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) v9.2.0

3 participants