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

Fix paging on strings sorted in ascending order. #9157

Closed

Conversation

jpountz
Copy link
Contributor

@jpountz jpountz commented Jan 6, 2015

For the comparator to work correctly, we need to give it the same value in
setTopValue as the value that it returned in value.

Close #9136

For the comparator to work correctly, we need to give it the same value in
`setTopValue` as the value that it gave back in `value`.

Close elastic#9136
@jpountz jpountz added the review label Jan 6, 2015
@martijnvg
Copy link
Member

LGTM!

@Override
public void setScorer(Scorer scorer) {
BytesRefFieldComparatorSource.this.setScorer(scorer);
}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is not needed but was just added for consitency

@jpountz jpountz self-assigned this Jan 6, 2015
@jpountz jpountz closed this Jan 6, 2015
@clintongormley clintongormley added the :Search/Search Search-related issues that do not fall into other categories label Mar 19, 2015
@clintongormley clintongormley changed the title Search: Fix paging on strings sorted in ascending order. Fix paging on strings sorted in ascending order. Jun 8, 2015
jpountz added a commit that referenced this pull request Jun 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :Search/Search Search-related issues that do not fall into other categories v1.4.3 v1.5.0 v2.0.0-beta1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Scroll search with ASC sort order on missing fields does not terminate
3 participants