For a given facet field, return a hash of that field’s items and their counts.
bbop.golr.response.prototype.facet_counts = function()
Return a count-sorted array of a facet field’s response.
bbop.golr.response.prototype.facet_field = function( facet_name )
Return a count sorted array of the response’s facet fields.
bbop.golr.response.prototype.facet_field_list = function()
Bulk getter/setter for facets (technically ‘facet.field’).
this.facets = function( list_or_key )
Returns a list of the facts in the response.
bbop.rest.response.mmm.prototype.facts = function()
Always return test as false--useful when testing using control structures and the like.
this.fail = function( msg )
Contructor for a fake and inactive Ajax.
bbop.golr.faux_ajax = function ()
Contructor for a fake and inactive Ajax.
bbop.rest.manager.jquery_faux_ajax = function ()
A cousin of update, but is made to avoid all of the usual callback functions (except error) and just run the single function from the argument.
bbop.golr.manager.jquery.prototype.fetch = function( run_func )
This is the synchronous data getter for Rhino--probably your best bet right now for scripting.
bbop.golr.manager.rhino.prototype.fetch = function()
This is the synchronous data getter for Rhino--probably your best bet right now for scripting.
bbop.rest.manager.rhino.prototype.fetch = function( url, payload )
Generate the template for a simple download button.
bbop.widget.display.button_templates.field_download = function( label, count, fields )
Returns an array of field ids ordered by weight.
this.field_order_by_weight = function( weight_category, cutoff )
Fill the template with the corresponding hash items.
this.fill = function( fill_hash )
Get all of our query filter variables and try and make something of them that get_assemble can understand.
this.filter_list_to_assemble_hash = function( flist )
Contructor for the bbop.widget.display.filter_shield object.
bbop.widget.display.filter_shield = function( spinner_img_src, wait_msg )
The table needs to keep the row information in a tbody, not just at the top level.
bbop.widget.filter_table = function( elt_id, table_id, img_src, repaint_func, label )
Removes one from the wait count and hides the spinner if the number of outstanding waits has reached zero.
this.finish_wait = function()
Attempt to return a two part split on the first occurrence of a character.
bbop.core.first_split = function( character, string )
Generate the template for a button that gives the user a DnD and reorderable selector for how they want their tab-delimited downloads.
bbop.widget.display.button_templates.flexible_download = function( label, count, start_fields, personality, gconf )
Fold a pair of hashes together, using the first one as an initial template--only the keys in the default hash will be defined in the final hash--and the second hash getting precedence.
bbop.core.fold = function( default_hash, arg_hash )