Skip to content

Conversation

lcawl
Copy link
Contributor

@lcawl lcawl commented Sep 15, 2021

Related to #732

This PR tests the new @doc_id functionality. The ml.customUrls keyword in this case should resolve to the same type of URL as exists in https://github.com/elastic/kibana/blob/master/src/core/public/doc_links/doc_links_service.ts

I also removed some links to out-dated URLs that are no longer valid or necessary.

Copy link
Member

@delvedor delvedor left a comment

Choose a reason for hiding this comment

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

LGTM

Can you run make contrib?

@lcawl
Copy link
Contributor Author

lcawl commented Sep 16, 2021

Can you run make contrib?

I get this error: Error: 'custom_settings' has the following unknown annotations: doc_id. Is there something else I need to do to make it aware of this option?

Copy link
Member

@delvedor delvedor left a comment

Choose a reason for hiding this comment

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

It looks like that doc_id can only live in request definitions, I'll update the compiler!

@delvedor
Copy link
Member

Oks, I've merged #755, please sync with the main branch and run make contrib again, sorry for the confusion!

@delvedor delvedor merged commit 3e8eca6 into elastic:main Sep 21, 2021
delvedor pushed a commit that referenced this pull request Sep 21, 2021
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.

2 participants