search-index

August 19, 2024 ยท View on GitHub

A network resilient, persistent full-text search library for the browser and Node.js

npm npm license Build Status JavaScript Style Guide

Quick start

import { SearchIndex } from 'search-index' 

// initialize an index
const { PUT, QUERY } = new SearchIndex(options)

// add documents to the index
await PUT(documents)

// read documents from the index
const results = await QUERY(query)

Documentation

  • Browser demo (source code)
  • API
  • FAQ

Contents

  1. 0.1A network resilient, persistent full-text search library for the browser and Node.js
  2. 1Quick start
  3. 2Documentation