Skip to content

Latest commit

 

History

History
57 lines (45 loc) · 2.52 KB

README.md

File metadata and controls

57 lines (45 loc) · 2.52 KB

search-index

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

Gitter npm npm license Travis JavaScript Style Guide

const getData = function(err, myIndex) {
  readStreamOfDocuments        // <- a stream of documents to be indexed
    .pipe(myIndex.feed())      // <- an extendable document processing pipeline (do objectMode: true for a stream of objects)
}
require('search-index')(options, getData) // <- make a new index

search-index is a freetext search library for JavaScript. You can use it to drop fantabulous search functionality into your javascript applications

Find out how to use the search-index module here:

For the impatient

API

Documentation

Release notes

Contribute