bbop-response-golr
v0.0.8
Published
Response type and API for handling the returns from a GOlr instance in a standard way.
Downloads
16
Readme
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.