-
Notifications
You must be signed in to change notification settings - Fork 13k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add opensearch support to doc.rust-lang.org #24899
Comments
Unfortunately, search for doc.rust-lang.org is performed client-side using a precompiled index so this would require a dedicated Web service, which is a non-trivial complication infrastructure wise. There are some search-as-a-service products that may have a high free quota and tolerable pricing above it, and those could be used as an alternative. |
I see. It probably doesn't worth the trouble then. |
Well, this could just as well be a simple Heroku app that implements http://www.opensearch.org/Specifications/OpenSearch/Extensions/Suggestions/1.1 using http://doc.rust-lang.org/search-index.js from the rust nightly. It's doable. |
Heroku's free tier is going to basically be inappropriate with their next pricing adjustment. @jorisgio , I agree this would be cool, but I doubt that we're going to tackle this any time soon. |
Server side search works now: https://doc.rust-lang.org/std/?search=string |
Triage: no comments in over two years. @rust-lang/rustdoc is this something we're interested in pursuing? |
I'm not sure we'd want this: it only works on firefox and would require to have a full infrastructure behind to power it. |
I think the underlying desire here is that browsers should automatically figure out that I think the main tweak would have to be that |
Opensearch is a common API to query search engine. It is for instanced used to add search engines to the firefox search bar and to chrome.
It would be nice if doc.rust-lang.org supported opensearch to enable doc search directly from firefox.
cc @steveklabnik
The text was updated successfully, but these errors were encountered: