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)A persistent, network resilient, full text search library for the browser and Node.js
fergiemcdowall
1,4 k
étoiles
148
forks
7
issues ouvertes
Ce README est souvent en anglais.
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)Next-generation full-text search library for Browser and Node.js