function theme_apachesolr_search_noresults in Apache Solr Search 6.3
Same name and namespace in other branches
- 8 apachesolr_search.module \theme_apachesolr_search_noresults()
- 6.2 apachesolr_search.module \theme_apachesolr_search_noresults()
- 7 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 seperate so we are not dependent from core search when someone tries to disable the core search
File
- ./
apachesolr_search.module, line 1857 - 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>');
}