一个持久、网络弹性的全文搜索库,适用于浏览器和 Node.js
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)暂无开放 Issues,或尚未同步最近议题。