function theme_apachesolr_search_noresults in Apache Solr Search 7
Same name and namespace in other branches
- 8 apachesolr_search.module \theme_apachesolr_search_noresults()
- 6.3 apachesolr_search.module \theme_apachesolr_search_noresults()
- 6.2 apachesolr_search.module \theme_apachesolr_search_noresults()
Brief message to display when no results match the query.
See also
1 theme call to theme_apachesolr_search_noresults()
- apachesolr_search_search_page_custom in ./
apachesolr_search.module - Mimics apachesolr_search_search_page() but is used for custom search pages We prefer to keep them separate so we are not dependent from core search when someone tries to disable the core search
File
- ./
apachesolr_search.module, line 1815 - Provides a content search implementation for node content for use with the Apache Solr search application.
Code
function theme_apachesolr_search_noresults() {
return t('<ul>
<li>Check if your spelling is correct, or try removing filters.</li>
<li>Remove quotes around phrases to match each word individually: <em>"blue drop"</em> will match less than <em>blue drop</em>.</li>
<li>You can require or exclude terms using + and -: <em>big +blue drop</em> will require a match on <em>blue</em> while <em>big blue -drop</em> will exclude results that contain <em>drop</em>.</li>
</ul>');
}