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

More Like This API would not take into account size and from in request body #5981

Merged
merged 1 commit into from May 12, 2014

Conversation

alexksikes
Copy link
Contributor

Instead these values would always be overridden by the default values of REST parameters search_size and search_from.

@jpountz
Copy link
Contributor

jpountz commented May 2, 2014

The fix looks good. Can we also have a test for it?

.field("text", "lucene").endObject()))
.actionGet();
}
refresh();
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you use indexRandom? This method randomizes document order to make sure that the test doesn't rely on it.

@jpountz
Copy link
Contributor

jpountz commented May 12, 2014

LGTM

More Like This API would not take into account 'size' and 'from' in request body parameters.
Instead these values would always be overriden by the default values of REST parameters
'search_size' and 'search_from'.

Closes elastic#5981
@alexksikes alexksikes merged commit 513f25a into elastic:master May 12, 2014
alexksikes added a commit that referenced this pull request May 12, 2014
More Like This API would not take into account 'size' and 'from' in request body parameters.
Instead these values would always be overriden by the default values of REST parameters
'search_size' and 'search_from'.

Closes #5981
@clintongormley clintongormley changed the title More Like This API would not take into account size and from in request ... More Like This API would not take into account size and from in request body Jun 7, 2015
@clintongormley clintongormley added :Search/Search Search-related issues that do not fall into other categories and removed :More Like This labels Feb 13, 2018
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.2.0 v2.0.0-beta1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants