0.1.1 • Published 9 years ago

solrdex v0.1.1

Weekly downloads
31
License
-
Repository
github
Last release
9 years ago

solrdex

Use Solr as a secondary index and search engine. This module is a quick, no-frills way to get data into Solr for full-text searching and other features where Solr provides a useful boost over SQL and noSQL databases alone.

Getting Started

Install the module with: npm install solrdex

var Solrdex = new require('solrdex')(options);

Solrdex.add(docs, options, callback); //accepts individual documents or array
Solrdex.getByIds(ids, options, callback); //accepts individual ids or array
Solrdex.delete(ids, options, callback); //accepts individual ids or array
Solrdex.textSearch(query, {qf: fields}, callback); //accepts array or object for fields, along with other edismax options

License

Copyright (c) 2014 Ben Sack Licensed under the MIT license.

0.1.1

9 years ago

0.1.0

9 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago