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

72 #74

Closed
wants to merge 4 commits into from
Closed

72 #74

wants to merge 4 commits into from

Conversation

dclemenzi
Copy link
Contributor

#72 Limited the source filtering to the properties specified by the query.

@@ -167,8 +167,14 @@ private ElasticRequest prepareSearchRequest(Query query, boolean scroll) throws
}

if (dataStore.isSourceFilteringEnabled()) {
// add source includes
setSourceIncludes(searchRequest);
if (query.getProperties() != Query.ALL_PROPERTIES) {
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 add a test to hit this case if there's not one already?

…nning the IT on server. Therefore switch to just checking to ensure the count is greater then 2
Copy link
Contributor

@sjudeng sjudeng left a comment

Choose a reason for hiding this comment

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

Nice. Thanks for adding the tests. Can you squash these commits for merge?

@dclemenzi
Copy link
Contributor Author

Submitted a squashed version as requested.

@dclemenzi dclemenzi closed this Jun 11, 2018
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.

2 participants