Skip to content

Sort by score#4466

Merged
BigFunger merged 6 commits intoelastic:masterfrom
BigFunger:sort-by-score
Aug 11, 2015
Merged

Sort by score#4466
BigFunger merged 6 commits intoelastic:masterfrom
BigFunger:sort-by-score

Conversation

@BigFunger
Copy link
Contributor

This fixes #3973
This fixes #4111
This fixes #4538
Replaces PR #4012

When using segmented indexes, no score is returned. When sorting by _score, need to force the courier to only request a single segment for all data.

@BigFunger BigFunger added bug Fixes for quality problems that affect the customer experience review v4.2.0 labels Jul 22, 2015
@BigFunger BigFunger removed the bug Fixes for quality problems that affect the customer experience label Jul 22, 2015
Copy link
Contributor

Choose a reason for hiding this comment

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

I thought we had a rule in jshint about adding base 10 to parseInt. In any event, you should do it.

Also, what happens when we set _maxSegments to 0?

@w33ble
Copy link
Contributor

w33ble commented Jul 24, 2015

I take issue with this closing #4111....

screenshot 2015-07-24 14 13 22

@w33ble w33ble assigned BigFunger and unassigned w33ble Jul 24, 2015
BigFunger added a commit that referenced this pull request Aug 11, 2015
@BigFunger BigFunger merged commit a96e14b into elastic:master Aug 11, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

2 participants