example of OpenSearch (using the Yarn index)
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode
LICENSE
README.md
index.js
package.json
renovate.json
yarn.lock

README.md

OpenSearch for Algolia results

This is an experiment and has not yet been validated

  1. / -> a html with the meta link to the opensearch
  2. /opensearch.xml -> the description document with all links
  3. /suggest?query=XXX -> JSON response for query suggestions (docs)
  4. /results?query=XXX -> XML/RSS response results (docs)

Getting started

  1. install dependencies
yarn # (or npm install)
  1. start (in development mode)
yarn dev # (or npm run dev)
  1. deploy somewhere and run
yarn start # (or npm run start)

Uses

  • express
  • algoliasearch
  • Yarn index
  • Yarn query suggestions index