Snippets show in XML search results after disabling them in Admin Console
Summary: Snippets can be hidden from users using Page Layout Helper. However, users with enough knowledge can still modify the search query to obtain snippets in XML format.
Cause: XML format from GSA will always contain all information from a search request. Page Layout Helper will only change the XSLT code to ignore the snippets when generating the search results' HTML. It will not remove the snippets from the XML results.
Workaround:
- Create a custom front end server to convert the search appliance XML results into HTML pages. This server will proxy results from the search appliance to the user.
- The new front end server will only return search results in HTML format and users cannot modify that behavior.
- Block users from doing search directly on GSA.
Additional Information: Please review:
- Advanced Customization Topics for more details about customizing XSLT.
- Replacing snippet for more details about replacing result snippet with other value.
- Removing snippet for more details about not showing snippet in HTML page.
Was this helpful?
How can we improve it?