#StackBounty: #views #search Display Search API query execution time in search view

Bounty: 50

I am trying to show the query execution time in a View where I’m using the Search API module to return results from an index in Apache Solr. I am pretty sure that in the past I could print something like:

Your query returned 234 results in 0.035 milliseconds

at the top or the bottom of the view, but this may have been a feature of the Search API Pages module (which I can’t use since it does not work properly for me).

I have searched the various “things” that you can add in the header and the footer part of the view but there is no replacement pattern for this kind of information.

Am I missing an option somewhere? If this is not possible through the UI, is there maybe a way to retrieve and print this programmatically in the Views’ template system?

Thanks in advance.


Get this bounty!!!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.