You are here

function theme_apachesolr_search_snippets in Apache Solr Search 5.2

Same name and namespace in other branches
  1. 8 apachesolr_search.module \theme_apachesolr_search_snippets()
  2. 6.3 apachesolr_search.module \theme_apachesolr_search_snippets()
  3. 6 apachesolr_search.module \theme_apachesolr_search_snippets()
  4. 6.2 apachesolr_search.module \theme_apachesolr_search_snippets()
  5. 7 apachesolr_search.module \theme_apachesolr_search_snippets()

Theme the highlighted snippet text for a search entry.

Parameters

object $doc:

array $snippets:

1 theme call to theme_apachesolr_search_snippets()
apachesolr_process_response in ./apachesolr_search.module

File

./apachesolr_search.module, line 1109
Provides a content search implementation for node content for use with the Apache Solr search application.

Code

function theme_apachesolr_search_snippets($doc, $snippets) {
  return implode(' ... ', $snippets) . ' ...';
}