Skip to content

Fix IndexSortSortedNumericDocValuesRangeQuery for int sort#14732

Merged
mayya-sharipova merged 2 commits intoapache:mainfrom
mayya-sharipova:fix_IndexSortSortedNumericDocValuesRangeQuery
May 30, 2025
Merged

Fix IndexSortSortedNumericDocValuesRangeQuery for int sort#14732
mayya-sharipova merged 2 commits intoapache:mainfrom
mayya-sharipova:fix_IndexSortSortedNumericDocValuesRangeQuery

Conversation

@mayya-sharipova
Copy link
Contributor

This query assumed that missing value is always of type long.
This modifies it to allow type int as well.
The test is added that fails without this change.

This query assumend that missing value is always of type
long.
This modifies it to allow type int as well.
The test is added that fails without this change.
@github-actions
Copy link
Contributor

This PR does not have an entry in lucene/CHANGES.txt. Consider adding one. If the PR doesn't need a changelog entry, then add the skip-changelog-check label to it and you will stop receiving this reminder on future updates to the PR.

}
}

public void testSameHitsAsPointRangeQueryIntSort() throws IOException {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy of the previous testSameHitsAsPointRangeQuery() but on Integer sort.

benwtrent added a commit to benwtrent/elasticsearch that referenced this pull request May 30, 2025
@mayya-sharipova mayya-sharipova merged commit 5c88660 into apache:main May 30, 2025
7 checks passed
@mayya-sharipova mayya-sharipova deleted the fix_IndexSortSortedNumericDocValuesRangeQuery branch May 30, 2025 13:01
mayya-sharipova added a commit that referenced this pull request May 30, 2025
This query assumed that missing value is always of type long.
This modifies it to allow type int as well.
The test is added that fails without this change.
mayya-sharipova added a commit to mayya-sharipova/lucene that referenced this pull request May 30, 2025
)

This query assumed that missing value is always of type long.
This modifies it to allow type int as well.
The test is added that fails without this change.

Backport for apache#14732
mayya-sharipova added a commit that referenced this pull request May 30, 2025
…14736)

This query assumed that missing value is always of type long.
This modifies it to allow type int as well.
The test is added that fails without this change.

Backport for #14732
benwtrent added a commit to elastic/elasticsearch that referenced this pull request Jun 2, 2025
* Applying Apache Lucene fix: apache/lucene#14732

* fixing test

* fixing annot
benwtrent added a commit to benwtrent/elasticsearch that referenced this pull request Jun 2, 2025
* Applying Apache Lucene fix: apache/lucene#14732

* fixing test

* fixing annot

(cherry picked from commit 2a44166)
mridula-s109 pushed a commit to elastic/elasticsearch that referenced this pull request Jun 2, 2025
* Applying Apache Lucene fix: apache/lucene#14732

* fixing test

* fixing annot
elasticsearchmachine pushed a commit to elastic/elasticsearch that referenced this pull request Jun 2, 2025
…8764)

* Applying Apache Lucene fix: apache/lucene#14732 (#128671)

* Applying Apache Lucene fix: apache/lucene#14732

* fixing test

* fixing annot

(cherry picked from commit 2a44166)

* [CI] Auto commit changes from spotless

* adding forbidden api check

---------

Co-authored-by: elasticsearchmachine <infra-root+elasticsearchmachine@elastic.co>
elasticsearchmachine pushed a commit to elastic/elasticsearch that referenced this pull request Jun 2, 2025
)

* Applying Apache Lucene fix: apache/lucene#14732 (#128671)

* Applying Apache Lucene fix: apache/lucene#14732

* fixing test

* fixing annot

(cherry picked from commit 2a44166)

* adding forbidden APIs check
mridula-s109 pushed a commit to mridula-s109/elasticsearch that referenced this pull request Jun 3, 2025
* Applying Apache Lucene fix: apache/lucene#14732

* fixing test

* fixing annot
joshua-adams-1 pushed a commit to joshua-adams-1/elasticsearch that referenced this pull request Jun 3, 2025
* Applying Apache Lucene fix: apache/lucene#14732

* fixing test

* fixing annot
Samiul-TheSoccerFan pushed a commit to Samiul-TheSoccerFan/elasticsearch that referenced this pull request Jun 5, 2025
* Applying Apache Lucene fix: apache/lucene#14732

* fixing test

* fixing annot
mayya-sharipova added a commit that referenced this pull request Jun 12, 2025
This query assumed that missing value is always of type long.
This modifies it to allow type int as well.
The test is added that fails without this change.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants