When a query returns only one document in the results list, you can configure the front-end client to automatically open it in the document viewer. To prevent single document results from being automatically opened, set the value of the autoDisplaySingleDoc key in the docHitList object to false. To enable this feature, set the value to true. For example:
"autoDisplaySingleDoc": true