lunr-elastic-search
Version:
Uses Lunr.js to index and search the knowledge base.
42 lines (27 loc) • 1.37 kB
Markdown
elastic-search
==============
[](https://gitlab.com/sightreadingfactory-open-source/elastic-search/commits/master)
[](https://www.npmjs.com/package/lunr-elastic-search)
[](https://gitlab.com/sightreadingfactory-open-source/elastic-search/LICENSE)
Documentation
-------------
API documentation is available at https://sightreadingfactory-open-source.gitlab.io/elastic-search/docs.
Reports
-------
- Unit tests: https://sightreadingfactory-open-source.gitlab.io/elastic-search/reports/unit
- Coverage: https://sightreadingfactory-open-source.gitlab.io/elastic-search/reports/coverage
Installation
------------
For usage in the browser:
Latest version:
```html
<script src="https://unpkg.com/lunr-elastic-search"></script>
```
Specific version #.#.#:
```html
<script src="https://unpkg.com/lunr-elastic-search@#.#.#"></script>
```
This will create a global variable `LunrSearch` which is the class [`LunrSearch`](https://sightreadingfactory-open-source.gitlab.io/elastic-search/docs/LunrSearch.html)
Usage
-----
Refer to the [API docs](https://sightreadingfactory-open-source.gitlab.io/elastic-search/docs/LunrSearch.html)