bbop-response-golr

0.0.8 • Public • Published

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

Package Sidebar

Install

npm i bbop-response-golr

Weekly Downloads

7

Version

0.0.8

License

BSD-3-Clause

Last publish

Collaborators

  • pkalita-lbl
  • kltm