You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Bernd Wahlen (Jira)" <ji...@apache.org> on 2020/11/16 15:53:00 UTC

[jira] [Updated] (SOLR-14970) elevation does not work without elevate.xml config

     [ https://issues.apache.org/jira/browse/SOLR-14970?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bernd Wahlen updated SOLR-14970:
--------------------------------
    Summary: elevation does not work without elevate.xml config  (was: elevation does not workout elevate.xml config)

> elevation does not work without 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
>            Priority: Minor
>
> When i remove elevate.xml line from solrconfig.xml plus the file, elevation is not working and 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 work, example query:
> {code:java}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{code}
> {code:java}
>   <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>
> {code}



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

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