Changeset 6472


Ignore:
Timestamp:
08/18/15 09:53:14 (9 years ago)
Author:
Twan Goosen
Message:

small improvements w.r.t. hierarchy display and ranking:

  • do not distinguish between collection sizes above 50 when ranking
  • hide child and parent IDs in technical details
Location:
vlo/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • vlo/trunk/vlo-commons/src/main/resources/VloConfig.xml

    r6441 r6472  
    113113        <technicalField>_componentProfile</technicalField>
    114114        <technicalField>_hierarchyWeight</technicalField>
    115         <technicalField>_hasPart</technicalField>
    116         <technicalField>_isPartOf</technicalField>
     115        <technicalField>_hasPartCount</technicalField>
    117116    </technicalFields>
    118117   
  • vlo/trunk/vlo-solr/src/main/solr_conf/solr/collection1/conf/solrconfig.xml

    r6407 r6472  
    399399            <!--
    400400                boost by hierarchy weight (reverse order because lower numbers
    401                 indicate a higher level), then by number of parts, then by
    402                 number of resources -->
    403             rord(_hierarchyWeight) log(add(1,_hasPartCount))^.1
     401                indicate a higher level), then by number of parts (differentiate
     402                up till 50) -->
     403            rord(_hierarchyWeight) log(add(1,min(50,_hasPartCount)))^.1
    404404            <!-- TODO: prefer CLARIN records over non-CLARIN? -->
    405405            <!-- TODO: boost records with one or more resources (_resourceRefCount) -->
  • vlo/trunk/vlo-web-app/src/main/resources/fieldNames.properties

    r6291 r6472  
    4242field._hierarchyWeight=Hierarchy level
    4343field._hasPart=Has part(s)
     44field._hasPartCount=Child count
    4445field._isPartOf=Is part of
Note: See TracChangeset for help on using the changeset viewer.