nirav patel created ZEPPELIN-1765:
-------------------------------------
Summary: Improve search API for Notebook and Paragraph resources
Key: ZEPPELIN-1765
URL: https://issues.apache.org/jira/browse/ZEPPELIN-1765
Project: Zeppelin
Issue Type: Improvement
Components: rest-api
Affects Versions: 0.6.2
Reporter: nirav patel
First of all it would be nice to have an actual examples of API in your api doc
which covers syntax of parameters specially in case of full-text search api.
I am looking at following api to help me find a paragraph id of a notebook
based on notebook name and paragraph name but I can't seem to be able to do
that.
https://zeppelin.apache.org/docs/0.6.2/rest-api/rest-notebook.html#full-text-search-through-the-paragraphs-in-all-notebooks
I think instead of generic search api it would be nice to have a note book
level api.
e.g.
http://[zeppelin-server]:[zeppelin-port]/api/notebook/[notebook-id]/search?q=[query]
Point is Paragraph ids/Notebook ids are not known in advance so we must have to
grab them somehow if we want to replace them with new paragraph. Replacing with
new paragraph is kind of my alternative for ZEPPELIN-1764. So I can add new
parameters before running all paragraphs. But without knowing which paragraph
to remove I can't do this.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)