| 33 | Die wesentlichen Felder, die in der Anzeige verwendet werden sind (Details in [source:solrsearch (DRUPAL)/solrsearch_search.module]) |
| 34 | |
| 35 | {{{ |
| 36 | // template_preprocess_search_result() runs check_plain() on the title |
| 37 | // again. Decode to correct the display. |
| 38 | 'title' => htmlspecialchars_decode($doc->title[0], ENT_QUOTES), |
| 39 | 'author' => htmlspecialchars_decode($doc->author[0], ENT_QUOTES), |
| 40 | // These values are not required by the search module but are provided |
| 41 | // to give entity callbacks and themers more flexibility. |
| 42 | 'score' => $doc->score, |
| 43 | 'snippets' => $snippets, |
| 44 | 'snippet' => $snippet, |
| 45 | 'fields' => $fields, |
| 46 | 'doc-type' => $doc->{'doc-type'}, |
| 47 | 'mpiwg-dri' => $doc->{'mpiwg-dri'}, |
| 48 | 'access-type'=> $doc->{'access-type'}, |
| 49 | 'year' => $doc->{'year'}, |
| 50 | 'archive-path' => $doc->{'archive-path'}, |
| 51 | |
| 52 | }}} |
| 53 | |