-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[Backport 2.x] Allow doc value search on unindexed boolean and date fields #13514
Conversation
* Making fields searchable Signed-off-by: Harsha Vamsi Kalluri <harshavamsi096@gmail.com> * Adding tests for boolean fields Signed-off-by: Harsha Vamsi Kalluri <harshavamsi096@gmail.com> * Added tests for date fields Signed-off-by: Harsha Vamsi Kalluri <harshavamsi096@gmail.com> * Updating termsQuery logic Signed-off-by: Harsha Vamsi Kalluri <harshavamsi096@gmail.com> * Spotless Signed-off-by: Harsha Vamsi Kalluri <harshavamsi096@gmail.com> * Updating terms test Signed-off-by: Harsha Vamsi Kalluri <harshavamsi096@gmail.com> * Spotless Signed-off-by: Harsha Vamsi Kalluri <harshavamsi096@gmail.com> * Ensure that the points are intersecting for doc_values Signed-off-by: Harsha Vamsi Kalluri <harshavamsi096@gmail.com> * Spotless Signed-off-by: Harsha Vamsi Kalluri <harshavamsi096@gmail.com> * Adding missing javadocs Signed-off-by: Harsha Vamsi Kalluri <harshavamsi096@gmail.com> * Adding more tests for indexedValueForSearch Signed-off-by: Harsha Vamsi Kalluri <harshavamsi096@gmail.com> * Adding MatchAllDocsQuery to asserts Signed-off-by: Harsha Vamsi Kalluri <harshavamsi096@gmail.com> * Fix changelog Signed-off-by: Harsha Vamsi Kalluri <harshavamsi096@gmail.com> * Simplify loop criteria + remove IndexOrDocValuesQuery Signed-off-by: Harsha Vamsi Kalluri <harshavamsi096@gmail.com> * Add some comments Signed-off-by: Harsha Vamsi Kalluri <harshavamsi096@gmail.com> * Fix indendation Signed-off-by: Harsha Vamsi Kalluri <harshavamsi096@gmail.com> * Fixing boolean field tests Signed-off-by: Harsha Vamsi Kalluri <harshavamsi096@gmail.com> * Revert to correct logic for termsQuery Signed-off-by: Harsha Vamsi Kalluri <harshavamsi096@gmail.com> * Update terms logic to be more succinct Signed-off-by: Harsha Vamsi Kalluri <harshavamsi096@gmail.com> * Fix terms test Signed-off-by: Harsha Vamsi Kalluri <harshavamsi096@gmail.com> * Adding tests for boolean range query + fix range query to use term query inside Signed-off-by: Harsha Vamsi Kalluri <harshavamsi096@gmail.com> * Checking if upper and lower terms are valid Signed-off-by: Harsha Vamsi Kalluri <harshavamsi096@gmail.com> * Checking if upper and lower terms are valid Signed-off-by: Harsha Vamsi Kalluri <harshavamsi096@gmail.com> * Fixing changelog Signed-off-by: Harsha Vamsi Kalluri <harshavamsi096@gmail.com> --------- Signed-off-by: Harsha Vamsi Kalluri <harshavamsi096@gmail.com> (cherry picked from commit dc77c46) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
❌ Gradle check result for b23425b: FAILURE 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? |
|
❕ Gradle check result for b23425b: UNSTABLE
Please review all flaky tests that succeeded after retry and create an issue if one does not already exist to track the flaky failure. |
@harshavamsi You can add the backport for #13517 in here as well since its a followup of this and needs a manual backport. |
Backport dc77c46 from #11650.