/
Search Within

Search Within

HawkSearch provides a mechanism to perform a deeper search within a search resultset. This is achieved by the parameter SearchWithin

To perform enable this search over a previous search, enable the Search Within facet from the facet configuration section

 

Users can search within the results as follows:

Normal Search (First level)

 

Search Within Search (Second level)

Notice that the original keyword remains the same.

 

For API implementations, perform this second-level search through API by passing a parameter SearchWithin as below:

Normal (First-level) search:

{ "Keyword": "bag", "IndexName": "YOUR_INDEX_NAME_HERE", "IgnoreSpellcheck": false, "ClientGuid": "YOUR_CLIENT_GUID" }

 

Searchwithin (Second-level) Search:

{ "Keyword": "bag", "SearchWithin": "tour", "IndexName": "YOUR_INDEX_NAME_HERE", "IgnoreSpellcheck": false, "ClientGuid": "YOUR_CLIENT_GUID" }

Related content

Front-end facets response
Front-end facets response
Read with this
-Search
-Search
More like this
No results: Use Hawksearch Popular searches and campaign
No results: Use Hawksearch Popular searches and campaign
Read with this
Hawksearch v4.0 - Search API
Hawksearch v4.0 - Search API
More like this
Facet and Field Types
Facet and Field Types
Read with this
Search
More like this