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

Prevent negative from parameter in SearchSourceBuilder #23358

Merged
merged 1 commit into from
Feb 27, 2017

Conversation

cbuescher
Copy link
Member

This prevents later errors like the one reported in #23324 and throws an
IllegalArgumentException early instead.

This prevents later errors like the one reported in elastic#23324 and throws an
IllegalArgumentException early instead.
@cbuescher cbuescher added :Search/Search Search-related issues that do not fall into other categories >enhancement review v5.4.0 v6.0.0-alpha1 labels Feb 24, 2017
@rjernst
Copy link
Member

rjernst commented Feb 24, 2017

LGTM

@cbuescher cbuescher merged commit 641c88d into elastic:master Feb 27, 2017
cbuescher added a commit that referenced this pull request Feb 27, 2017
This prevents later errors like the one reported in #23324 and throws an
IllegalArgumentException early instead.
@cbuescher
Copy link
Member Author

Merged to 5.x with 8c02460

jasontedor added a commit to jasontedor/elasticsearch that referenced this pull request Feb 27, 2017
* master:
  [TEST]  make headers case-insensitive when running yaml tests
  [TEST] randomize request content_type between all of the supported formats
  [TEST] add support for binary responses to REST tests infra
  [TEST] don't check exact size in mapper-size yaml test
  [TEST] move test for binary field to specific test file that sets Content-Type header explicitly
  [TEST] move filters aggs wrapper query builder rewriting test to integ tests
  [TEST] create HttpEntity earlier in REST tests
  [TEST] Remove content type auto-detection while parsing request body in REST tests
  Factor out filling of TopDocs in SearchPhaseController (elastic#23380)
  Add info method to High Level Rest client (elastic#23350)
  Prevent negative `from` parameter in SearchSourceBuilder (elastic#23358)
  reduce the number of iterations in testPrimaryRelocationWhileIndexing and flush every 5
  rollback unneeded change in testNotifyOnDisconnect
  disable sampling in testNotifyOnDisconnect
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>enhancement :Search/Search Search-related issues that do not fall into other categories v5.4.0 v6.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants