Response customization by hiding
Hawksearch allows you to query hide various parts of the response.
Hiding Field Values
For individual requests:
For older versions Hawksearch v2.0L to v4.0L
Please contact Hawksearch for customization.
Hawksearch v4.0 only:
Use FieldOverride parameter in the request body with a comma separated list of to select only those fields (attributes) to show for all resulting items.
Â
For all requests (all versions):
Turn off the field setting Show in Results on the workbench:
Goto Workbench → Settings → Data Configuration → Field Settings
Â
Hiding Facet Values
For individual requests, we can hide facet values by using the hyphen for Hawksearch v2.0L to v4.0L and the hyphen symbol -
for Hawksearch v4.0 version. The symbol can be customized so please notify your Hawksearch representative for changing this negative value prefix character.
Â
If a facet value needs to be hidden for all searches, setup the facet value for hiding in the workbench:
Â
Hiding Facets
Â
For individual requests (Hawksearch v4.0 only):
Use FacetOverride parameter in the request body with a comma separated list of to select only those facets
Â
For all requests (all versions):
Â
Hiding Resulting Items
Â
Please refer to the Visibility rules page here;
Visibility Rules - Hawksearch Knowledge Base - Confluence (atlassian.net)
Â