Skip to content

Conversation

@cbuescher
Copy link
Member

This change adds support for the new ranking evaluation API to the High Level Rest Client.
This mostly means adding support for parsing the various response objects back from the
REST representation. It includes one change to the response syntax where previously we didn't
print the type of the metric details section but we now need it to pick the right parser to
parse this section back. Since this API is marked as experimental this should be okay to change
on a minor version.

@cbuescher cbuescher added review :Search Relevance/Ranking Scoring, rescoring, rank evaluation. v7.0.0 v6.3.0 labels Jan 24, 2018
Copy link
Member Author

Choose a reason for hiding this comment

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

I opened a separate PR (#28341) to adress this, so depending on which one gets in first this might already be irrelevant.

Copy link
Member

@javanna javanna 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 a couple of questions, LGTM though. Good stuff ;)

Copy link
Member

Choose a reason for hiding this comment

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

how do we do here with random fields, forward comp etc.?

Copy link
Member Author

Choose a reason for hiding this comment

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

I added inserting random fields, which of course exposed some issues. Also fixed those in the next commit.

Copy link
Member

Choose a reason for hiding this comment

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

same as above, should we test random fields insertion?

Copy link
Member

Choose a reason for hiding this comment

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

wasn't this needed?

Copy link
Member Author

Choose a reason for hiding this comment

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

Exactly, the fields are already set as a ctor argument before (L548), so this is redundant.

Copy link
Member

Choose a reason for hiding this comment

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

cool thanks

@cbuescher cbuescher force-pushed the add-hlclient-rankeval branch from 1da7dfd to 19a4254 Compare January 29, 2018 10:23
@cbuescher cbuescher force-pushed the add-hlclient-rankeval branch from 603052c to aaad9a1 Compare January 30, 2018 12:31
@cbuescher cbuescher merged commit 6731c76 into elastic:master Jan 30, 2018
@cbuescher cbuescher self-assigned this Jan 30, 2018
cbuescher pushed a commit that referenced this pull request Jan 30, 2018
This change adds support for the new ranking evaluation API to the High Level Rest Client.
This mostly means adding support for parsing the various response objects back from the
REST representation. It includes one change to the response syntax where previously we didn't
print the type of the metric details section but we now need it to pick the right parser to
parse this section back.

Closes #28198
@jpountz jpountz removed the :Search Relevance/Ranking Scoring, rescoring, rank evaluation. label Jan 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants