Bernd Wahlen created SOLR-14970:
-----------------------------------

             Summary: elevation does not workout elevate.xml config
                 Key: SOLR-14970
                 URL: https://issues.apache.org/jira/browse/SOLR-14970
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
    Affects Versions: 8.6.3
            Reporter: Bernd Wahlen


When i remove elevate.xml line from solrconfig.xml plus the file,
elevation is not working. No error is logged. We put the ids directly in the 
query and we are not using the default fields or ids, so the xml is completely 
useless, but required to let the elevation component working, example query:
http://staging.qeep.net:8983/solr/profile_v2/elevate?q=%2Bapp_sns%3A%20qeep&sort=random_4239%20desc,%20id%20desc&elevateIds=361018,361343&forceElevation=true

  <searchComponent name="elevator" class="solr.QueryElevationComponent" >
    <!-- pick a fieldType to analyze queries -->
    <str name="queryFieldType">string</str>
        <str name="config-file">elevate.xml</str>
    <str name="editorialMarkerFieldName">elevated</str>
  </searchComponent>
  
  <requestHandler name="/elevate" class="solr.SearchHandler" startup="lazy">
    <lst name="defaults">
      <str name="echoParams">explicit</str>
    </lst>
    <arr name="last-components">
      <str>elevator</str>
    </arr>
  </requestHandler>





--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to