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

LUCENE-10385: Avoid SimpleText codec in TestIndexSortSortedNumericDocValuesRangeQuery #675

Merged

Conversation

javanna
Copy link
Contributor

@javanna javanna commented Feb 10, 2022

The recently introduced testCount (added with LUCENE-10385) verifies that the Weight#count optimization kicks in. When SimpleText codec is used, DocValues#unwrapSingleton returns null which disables the optimization and makes the test fail.

Relates to #635

The recently introduced testCount verifies that the Weight#count optimization kicks in. When SimpleText codec is used, `DocValues#unwrapSingleton` returns null which disables the optimization and makes the test fail.
@jpountz jpountz merged commit ea170c9 into apache:main Feb 10, 2022
jpountz pushed a commit that referenced this pull request Feb 10, 2022
…ry (#675)

The recently introduced testCount verifies that the Weight#count optimization kicks in. When SimpleText codec is used, `DocValues#unwrapSingleton` returns null which disables the optimization and makes the test fail.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants