Extends
Members
type :string
The type of Backbone.Model this is.
Type:
- Since:
- Default Value:
- Source:
Methods
connect()
Sets listeners on the Filters and SearchResults to trigger a search
when the search changes
- Since:
- Source:
defaults()
Properties:
Name |
Type |
Description |
filters |
Filters
|
A Filters collection to use for this search |
searchResults |
SolrResults
|
The SolrResults collection that
the search results will be stored in |
isConnected |
boolean
|
Whether or not the model has listeners
set between the Filters and SearchResults. Set this with the
connect and disconnect methods. |
- Source:
disconnect()
Stops listening to changes in the Filters and SearchResults
- Since:
- Source:
triggerSearch(resetPage)
Get Results from the Solr index by combining the Filter query string
fragments in each Filter instance in the Search collection and querying
Solr.
Parameters:
Name |
Type |
Description |
resetPage |
boolean
|
Whether or not to reset the page number
to 0. Defaults to false. |
- Since:
- Source:
Fires: