Skip to content

Ceres6/lyrasearch-docs

 
 

Repository files navigation

Introduction

Lyra is an immutable, runtime-agnostic, edge, and in-memory full-text search engine that works both on client and server.

Through implementing an optimized prefix tree and some clever tweaks, Lyra can perform searches through millions of entries in microseconds.

{% embed url="https://www.youtube.com/watch?v=42sMkbGLlh4" %}

Requirements

A JavaScript runtime is the only requirement. Lyra has been designed to work on any runtime and has no dependencies.

Installation

You can install Lyra using npm, yarn, pnpm:

npm install @lyrasearch/lyra
yarn add @lyrasearch/lyra
pnpm add @lyrasearch/lyra

Or import it directly in a browser module:

<html>
  <body>
    <script type="module">
      import { create, search, insert } from "https://unpkg.com/@lyrasearch/lyra@latest/dist/esm/src/lyra.js";

      // ...
    </script>
  </body>
</html>

About

📂 Lyra documentation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 99.9%
  • Other 0.1%