cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

What is Search Query Templates ?

x1111111111
Participant
0 Kudos
1,250

What is Search Query Templates ?

I have read https://help.sap.com/viewer/9d346683b0084da2938be8a285c0c27a/6.6.0.0/en-US/6efba08befa04ec3b0b07f22e...

But not getting what is exact use of it and where does it fit in solr search life cycle ?

Accepted Solutions (0)

Answers (1)

Answers (1)

Private_Member_467521
Active Contributor
0 Kudos

Hi x1111111111,

This might give you a bit more:

  • Users can invoke alternative search query configurations using Query Templates. These templates can search on different indexed attributes, on different facet settings, as well as scoring for Exact Match, Fuzzy Match, and Wildcard. New Query Templates can be created and edited in the Facet Search Configuration area of the Backoffice, in the Administration perspective.
  • By default, this functionality is used for "as you type suggestion." Displaying this information may not require as many details as the standard search. Thanks to Query templates it is possible to configure and therefore optimize the query to Solr depending on the context in which the query was executed. For example, displaying suggestions doesn't require facets to be provided by Solr. See Search Query Templates for more information.

Source: https://www.sap.com/cxworks/article/441940324/search_and_navigation_in_sap_commerce_cloud_business_u...

Let us know if that helps to shed a light on Search Query Templates usage.

Cheers,

Luis 🙂

x1111111111
Participant
0 Kudos

HI luedazfr1

Thanks for the reply.

Can we use Search Query Templates to restrict solr search based on usergroup?