Solrizer - npolar/api.npolar.no GitHub Wiki
The Solrizer is Rack middleware for searching and indexing documents with Apache Solr.
Indexing
Automatic indexing: Feed the solrizer with a model object (that contains a #to_solr
method)
and it will add documents to the Solr index on every POST or PUT, and remove them on DELETE.
The Solrizer intercepts edits (POST
, PUT
, and DELETE
) and updates the search index after a successful save or delete by the [Core].
Searching
** Filtering ** For JSON-documents you can filter or faceting on every top-level attribute.