contentbox.models.search.ISearchAdapter
ContentBox - A Modular Content Platform Copyright since 2012 by Ortus Solutions, Corp www.ortussolutions.com/products/contentbox --- The official ContentBox Search Interface
Method Summary | |
---|---|
ISearchAdapter
|
refresh()
If chosen to be implemented, it should refresh search indexes and collections. |
any
|
renderSearch(string searchTerm, [numeric max], [numeric offset])
Render the search results according to the adapter and return HTML. |
any
|
renderSearchWithResults(SearchResults searchResults)
Render the search results according the passed in search results object. |
SearchResults
|
search(string searchTerm, [numeric max], [numeric offset])
Search content and return an standardized ContentBox Results object. |
Method Detail |
---|
If chosen to be implemented, it should refresh search indexes and collections
Render the search results according to the adapter and return HTML
searchTerm
- The search term to search onmax
- The max results to return if pagingoffset
- The offset to use in the search results if pagingRender the search results according the passed in search results object
searchResults
- The search results objectSearch content and return an standardized ContentBox Results object.
searchTerm
- The search term to search onmax
- The max results to return if pagingoffset
- The offset to use in the search results if paging