Changes between Version 8 and Version 9 of drupal-md-solr experimentelles Modul für DRUPAL 7


Ignore:
Timestamp:
Jun 8, 2015, 9:40:29 AM (9 years ago)
Author:
dwinter
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • drupal-md-solr experimentelles Modul für DRUPAL 7

    v8 v9  
    3131Ausserdem können dann hier die [[wiki:facets| Facetten]] ausgewählt werden, die in der Suche angezeigt werden können.
    3232
     33Die 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
    3354
    3455=== Suche ===