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" }