Changeset 6281


Ignore:
Timestamp:
06/05/15 14:56:45 (9 years ago)
Author:
Twan Goosen
Message:

comments on Solr requestHandler definition
refs #761

Location:
vlo/branches/vlo-ticket761/vlo-solr/src
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • vlo/branches/vlo-ticket761/vlo-solr/src/main/solr_conf/solr/collection1/conf/solrconfig.xml

    r6280 r6281  
    363363    <!-- default values for query parameters -->
    364364     <lst name="defaults">
    365        <str name="echoParams">explicit</str>
    366      <str name="defType">dismax</str>
    367      <str name="q.alt">*:*</str>
    368      <str name="qf">
    369          <!-- TODO: Add _languagename field for search purposes? -->
    370         name^8 description^4 keywords^2 languageCode^2 country^2 organisation^2 subject^2 collection^1 modality^1 genre^1 continent^.5 id^.1
    371      </str>
    372      <str name="pf">
    373          name^2 description
    374      </str>
    375      <str name="bf">
    376          <!-- boost by hierarchy weight (reverse order because lower numbers indicate a higher level -->
    377          rord(_hierarchyWeight)
    378      <!-- TODO: use bf to boost records with one or more resources -->
    379      </str>
    380        <!--
    381        <int name="rows">10</int>
    382        <str name="fl">*</str>
    383        <str name="version">2.1</str>
    384         -->
     365        <str name="echoParams">explicit</str>
     366       
     367        <!-- See https://wiki.apache.org/solr/DisMaxQParserPlugin -->
     368        <str name="defType">dismax</str>
     369       
     370        <!-- 'Fetch all documents' query -->
     371        <str name="q.alt">*:*</str>
     372       
     373        <!-- Query fields -->
     374        <str name="qf">
     375            <!-- TODO: Add _languagename field for search purposes? -->
     376           name^8 description^4 keywords^2 languageCode^2 country^2 organisation^2 subject^2 collection^1 modality^1 genre^1 continent^.5 id^.1
     377        </str>
     378       
     379        <!-- Phrase fields (boost if phrase is matched) -->
     380        <str name="pf">
     381            name^2 description
     382        </str>
     383       
     384        <!-- Boost fields (boost based on field value regardless of query) -->
     385        <str name="bf">
     386            <!-- boost by hierarchy weight (reverse order because lower numbers indicate a higher level -->
     387            rord(_hierarchyWeight)
     388           <!-- TODO: use bf to boost records with one or more resources? -->
     389        </str>
     390       
     391          <!--
     392          <int name="rows">10</int>
     393          <str name="fl">*</str>
     394          <str name="version">2.1</str>
     395           -->
    385396     </lst>
    386397  </requestHandler>
Note: See TracChangeset for help on using the changeset viewer.