Changeset 30643

Show
Ignore:
Timestamp:
28.07.2016 14:31:51 (3 years ago)
Author:
kjdon
Message:

removed displayItems that are not needed as we can get the strings from the dictionaries

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gs3-extensions/solr/trunk/src/collect/solr-jdbm-demo/etc/collectionConfig.xml

    r30642 r30643  
    33 
    44  <metadataList> 
    5     <metadata lang="en" name="creator"/> 
    6     <metadata lang="en" name="maintainer"/> 
     5    <metadata lang="en" name="creator">Greenstone Project</metadata> 
     6    <metadata lang="en" name="maintainer">Greenstone Project</metadata> 
    77    <metadata lang="en" name="public">true</metadata> 
    88  </metadataList> 
    9  
    109  <displayItemList> 
    1110    <displayItem assigned="true" lang="en" name="name">Solr Demo</displayItem>  
     
    2524  <search type="solr"> 
    2625    <level name="section"> 
    27       <displayItem lang="en" name="name">chapter</displayItem> 
     26      <displayItem name="name" key="level.chapter"/> 
    2827    </level> 
    2928    <level name="document"> 
    30       <displayItem lang="en" name="name">book</displayItem> 
     29      <displayItem name="name" key="level.book"/> 
    3130    </level> 
    3231    <defaultLevel name="section"/> 
    33     <index name="allfields"> 
    34       <displayItem lang="en" name="name">all fields</displayItem> 
    35     </index> 
    36     <index name="text"> 
    37       <displayItem lang="en" name="name">text</displayItem> 
    38     </index> 
    39     <index name="dc.Title,Title"> 
    40       <displayItem lang="en" name="name">titles</displayItem> 
    41     </index> 
    42     <index name="dc.Subject"> 
    43       <displayItem lang="en" name="name">subjects</displayItem> 
    44     </index> 
    45     <index name="dls.Organization"> 
    46       <displayItem lang="en" name="name">organisations</displayItem> 
    47     </index> 
    48     <sort name="rank"> 
    49       <displayItem lang="en" name="name">rank</displayItem> 
     32    <index name="allfields"/> 
     33    <index name="text"/> 
     34    <index name="dc.Title,Title"/> 
     35    <index name="dc.Subject"/> 
     36    <index name="dls.Organization"/> 
     37    <sort name="rank"/> 
     38    <sort name="dls.Organization"> 
     39      <displayItem name="name" key="Organization.buttonname"/> 
    5040    </sort> 
    51     <sort name="dls.Organization"> 
    52       <displayItem lang="en" name="name">organisations</displayItem> 
    53     </sort> 
    54     <sort name="none"> 
    55       <displayItem lang="en" name="name">build order</displayItem> 
    56     </sort> 
     41    <sort name="none"/> 
    5742    <facet name="dls.Organization"> 
    58       <displayItem lang="en" name="name">organisations</displayItem> 
     43      <displayItem name="name" key="Organisation.buttonname"/> 
    5944    </facet> 
    6045    <searchType name="plain"/>