Skip to content

Conversation

@dimitris-athanasiou
Copy link
Contributor

… process

@dimitris-athanasiou dimitris-athanasiou added the :ml Machine learning label Feb 5, 2019
@elasticmachine
Copy link
Collaborator

Pinging @elastic/ml-core

Copy link

@droberts195 droberts195 left a comment

Choose a reason for hiding this comment

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

I left one comment about using a deprecated method.

Aside from that I can see there are a few TODOs, but I'm happy to merge to the feature branch.

SearchHit hit = row.getHit();
Map<String, Object> source = new LinkedHashMap(hit.getSourceAsMap());
source.putAll(result.getResults());
IndexRequest indexRequest = new IndexRequest(hit.getIndex(), hit.getType(), hit.getId());

Choose a reason for hiding this comment

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

This method is deprecated, so it would be best not to use it in new code:

@deprecated Types are in the process of being removed. Use {@link #IndexRequest(String)} with {@link #id(String)} instead.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

@dimitris-athanasiou dimitris-athanasiou merged commit ceab407 into elastic:feature-ml-data-frame-analytics Feb 5, 2019
@dimitris-athanasiou dimitris-athanasiou deleted the allow-parsing-different-types-of-results-from-analytics-process branch February 5, 2019 16:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:ml Machine learning

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants