Search - Liquid Object Reference
On this page
Description
The Search object contains information about a search.
Attributes
| Attribute | Type | Description |
|---|---|---|
count |
Number | Returns the total number of results for the search, without any fields/filters applied |
fields |
Map | Returns a Map of Search Fields that can be used for the Search |
path |
String | Returns a path that can be used to run this same search again |
per_page |
Number | Returns number of results shown per page |
results |
SearchResult | Returns results of the search |
sort |
String | Returns the sorting applied to the search |
term |
String | Returns the search term used for the search |
type |
String | Returns the type of search performed: articles, locations, pages, or products |
url |
String | Returns a url that can be used to run this same search again |
Available on
- Global - Liquid Object Reference —
current_search
Was this article helpful?
Thanks for your feedback! It helps us improve our docs.