0.0.8 • Published 8 years ago

bbop-response-golr v0.0.8

Weekly downloads
4
License
BSD-3-Clause
Repository
github
Last release
8 years ago

Build Status

bbop-response-golr

Overview

Response type and API for handling the responses from a GOlr instance (Solr server with a structured schema) in a standard way.

In addition to the base functionality provided by bbop-rest-response, this class adds a ton of extra functionality for checking responses and accessing different parts of the return document in a consistent way. For a (small) sample of methods:

  • total_documents, start_document, end_document (document counting)
  • paging_previous_p, paging_next_p (paging handling)
  • documents, get_doc (general document access)
  • get_doc_field, get_doc_label (document field access)
  • much more...

This is a subclass of bbop-rest-response. For more detailed information, please see the unit tests.

Availability

GitHub

NPM

API

index