Hi

We are trying to boost certain fields with relevancy. However we are not 
getting results as per expectation. Below is the configuration in 
solr-config.xml.
Even though the title field has a lesser boost than metatag.description results 
for title field are coming higher.

We even created test data that have data only in description in 
metatag.description and title. Example , page 1 has foo in description and page 
2 has foo in title. Solr is still returning page 2 before page 1.

We are using Solr 5.5 and Nutch 1.11 currently.

Following is the configuration we are using. Any ideas on what we are missing 
to enable correct field boosting?

<requestHandler name="/elevate" class="solr.SearchHandler" startup="lazy">
    <lst name="defaults">
                  <str name="qf">
        metatag.keywords^10 metatag.description^9 title^8 h1^7 h2^6 h3^5 h4^4 
id _text_^1
      </str>
      <str name="echoParams">explicit</str>
                  <int name="rows">10</int>

                  <!-- Below Entry for Search Suggestions -->

                  <str name="echoParams">explicit</str>
      <str name="df">_text_</str>
      <str name="spellcheck.dictionary">default</str>
      <str name="spellcheck">on</str>
      <str name="spellcheck.extendedResults">false</str>
      <str name="spellcheck.count">10</str>
      <str name="spellcheck.alternativeTermCount">5</str>
      <str name="spellcheck.maxResultsForSuggest">5</str>
      <str name="spellcheck.collate">false</str>
      <str name="spellcheck.collateExtendedResults">true</str>
      <str name="spellcheck.maxCollationTries">10</str>
      <str name="spellcheck.maxCollations">5</str>
                <!-- Entry for highlighting of search keyword -->
                  <str name="fl">id title metatag.description itemtype lang 
metatag.hideininternalsearch metatag.topresultthumbnailalt 
metatag.topresultthumbnailurl playerid playerkey</str>
      <str name="hl">on</str>
      <str name="hl.fragsize">0</str>
      <str name="hl.fl">title metatag.description</str>
      <str name="hl.simple.pre"><![CDATA[<strong>]]></str>
      <str name="hl.simple.post"><![CDATA[</strong>]]></str>
    </lst>
    <arr name="last-components">
      <str>spellcheck</str>
                <str>elevator</str>
    </arr>
  </requestHandler>

Thanks
Megha

Reply via email to