Skip to content

Commit

Permalink
docs: document the opensearch.xml file (amundsen-io#1753)
Browse files Browse the repository at this point in the history
* Create search_from_browser.md

Signed-off-by: Dmitriy Kunitskiy <[email protected]>

* Update search_from_browser.md

Signed-off-by: Dmitriy Kunitskiy <[email protected]>
  • Loading branch information
Dmitriy Kunitskiy authored and Zachary Ruiz committed May 13, 2022
1 parent 00ef43b commit 4d236db
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions frontend/docs/search_from_browser.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Search From Browser
We can expose Amundsen search to web browsers to allow searching Amundsen directly from the address bar.
We do this by following the [OpenSearch standard](https://datacadamia.com/web/search/opensearch) and including an `opensearch.xml` file to describe
how to template a search URL.

We link to this file from `index.html` as long as the FRONTEND_BASE config [variable](https://github.com/amundsen-io/amundsen/blob/22dcca55d1348de677c33de5af5b62528e4cf2b6/frontend/amundsen_application/config.py#L58) is set.
Browsers will automatically follow this link and add Amundsen as a custom search engine. In Chrome these are viewable in `chrome://settings/searchEngines`.

0 comments on commit 4d236db

Please sign in to comment.