Skip to content

Response type and API for handling the returns from a GOlr instance in a standard way.

License

Notifications You must be signed in to change notification settings

berkeleybop/bbop-response-golr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Response type and API for handling the returns from a GOlr instance in a standard way.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published