Skip to content

Conversation

mkhludnev
Copy link
Contributor

@mkhludnev mkhludnev commented Sep 20, 2025

… keyword field.

Description

Pack terms once when terms query is created for indexed and docValues keywords field.

Related Issues

It's a continuation of #17714 made possible by lucene#14425

Check List

  • [v] Functionality includes testing.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@mkhludnev mkhludnev force-pushed the keyword-idx-dv-termsQ-sort-once branch from 9e66c4a to e8f9e61 Compare September 20, 2025 21:33
@mkhludnev
Copy link
Contributor Author

fwiw this optimization doesn't work for flattened field type.

@mkhludnev mkhludnev changed the title Sort terms once when terms query is created for indexed and docValues… Pack pre-sorted terms once when terms query is created for indexed and docValues… Sep 20, 2025
@mkhludnev mkhludnev changed the title Pack pre-sorted terms once when terms query is created for indexed and docValues… Pack terms once when terms query is created for indexed and docValues… Sep 20, 2025
Signed-off-by: Mikhail Khludnev <[email protected]>
Copy link
Contributor

❌ Gradle check result for b8819fd: null

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

@mkhludnev
Copy link
Contributor Author

something is wrong with failed job

{"pr_from_sha": "b8819fd815e4082ca79c799602369fccb10452a8", "pr_from_clone_url": "https://github.com/mkhludnev/OpenSearch.git", "pr_to_clone_url": "https://github.com/opensearch-project/OpenSearch.git", "pr_title": "pack terms once when terms query is created for indexed and docvalues", "pr_number": "19350", "post_merge_action": "false", "pr_owner": "mkhludnev"}
<html>
 <head><title>403 Forbidden</title></head>
 <body>
 <center><h1>403 Forbidden</h1></center>
 </body>
 </html>
jq: parse error: Invalid numeric literal at line 1, column 7
QUEUE_URL

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

Successfully merging this pull request may close these issues.

1 participant