Working with
Query Builder in Sitecore Experience Accelerator (SXA) Item Queries/Search
Scope for Sitecore Experience Accelerator (SXA) PageList and Search Results Component
The Sitecore
Experience Accelerator (SXA) provides many re-usable components which can be utilize
in your application with the help of some modifications in terms of data which
is required by the OOTB components.
The Sitecore provides OOTB Query Builder tool (based upon Search Provider) which can be utilized to build
the search query to get the desired search results.
The OOTB options present in Query Builder tool are:
The OOTB Search Filters options are:
There are some most re-used queries notations and OOTB
pre-defined search filters which we will be discussing in this post which are more
frequently being utilized in any Sitecore SXA based implementation:
The Sitecore SXA providing use of Queries via Item Queries
and Search Scopes.
SXA Item Queries:
The Sitecore
Experience Accelerator (SXA) Page
List component can display the
content using dynamic search queries which can be defined using the item based
upon Query Template (/sitecore/templates/Foundation/Experience
Accelerator/Search/Query) and all Item Queries items present in each Sitecore
SXA based website at /sitecore/content/<Tenant Name>/<Site
Name>/Settings/Item Queries:
SXA Search Scope:
The Sitecore
Experience Accelerator (SXA) SearchResults Component () uses Search Scopes to limit the search results and this search
scope item can be defined using the item based upon Scope Template /sitecore/templates/Feature/Experience
Accelerator/Search/Settings/Scope) and all Scope items present in each
Sitecore SXA based website at /sitecore/content/<Tenant Name>/<Site
Name>/Settings/Scopes:
You can click on Build Query to build the required
query based upon your requirements.
With the help of
Sitecore Query Builder you can utilize Sitecore
Experience Accelerator (SXA) PageList and Search Results components to build different types of listing pages like
News Listing, Blog Listing, Article Search Page, Blog Search Page, etc.,
without writing any custom code.
Credit/References:
Pingback:
Use the SXA search components |
SXA Search |
sitecore search query builder |
Build a search query |
Sitecore Query Syntax |
query builder in sitecore |
Sitecore Search |
sitecore 9 query builder |
sitecore query builder field |
sitecore solr query builder |
sitecore sxa components/renderings |
sitecore sxa rendering parameters |
sitecore sxa queries |
sitecore sxa rendering variants |
SXA renderings and rendering variants |
Sitecore SXA StyleGuide |
sitecore sxa item query |
Sitecore sxa search scope |
Comments