You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Monica Marrero (Jira)" <ji...@apache.org> on 2021/02/19 13:58:00 UTC

[jira] [Commented] (SOLR-15170) Elevation file in data dir not working in Solr Cloud

    [ https://issues.apache.org/jira/browse/SOLR-15170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17287082#comment-17287082 ] 

Monica Marrero commented on SOLR-15170:
---------------------------------------

Posted in the mailing list, [here|http://mail-archives.apache.org/mod_mbox/lucene-solr-user/202102.mbox/%3CCABWcGq7Nu6pjkhh7to8c00Et%2BdpQ9J_3vMKy2MNYBBi39e0R9g%40mail.gmail.com%3E] is the thread.

Adding also comments on the stack trace from the reply there (by Chris Hostetter):

: Caused by: org.apache.solr.core.SolrResourceNotFoundException: Can't
: find resource 'elevate.xml' in classpath or
: '/configs/techproductsConfExp', cwd=/usr/share/solr-7.7.2/server
: at org.apache.solr.cloud.ZkSolrResourceLoader.openResource(ZkSolrResourceLoader.java:130)
: at org.apache.solr.core.SolrResourceLoader.openConfig(SolrResourceLoader.java:362)
: at org.apache.solr.core.Config.<init>(Config.java:120)
: at org.apache.solr.core.Config.<init>(Config.java:90)
: at org.apache.solr.handler.component.QueryElevationComponent.loadElevationProvider(QueryElevationComponent.java:366)

...this bit of code is *expecting* to be able to init a Config object from 
the SolrResourceLoader, even thought this bit of code...

: at org.apache.solr.handler.component.QueryElevationComponent.getElevationProvider(QueryElevationComponent.java:321)
: at org.apache.solr.handler.component.QueryElevationComponent.loadElevationConfiguration(QueryElevationComponent.java:259)

...has already established that there is no "Config" file available from 
the resource loader, and we should be initializing an ElevationProvider 
that can read from the data dir (and this code seems to be unchanged on 
branch_8x)

> Elevation file in data dir not working in Solr Cloud
> ----------------------------------------------------
>
>                 Key: SOLR-15170
>                 URL: https://issues.apache.org/jira/browse/SOLR-15170
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>    Affects Versions: 7.7.2
>            Reporter: Monica Marrero
>            Priority: Major
>
> When using elevation, it is not possible to store the _elevate.xml_ file in the data folder instead of in the configuration folder in Solr Cloud. It is only possible in standalone mode.



--
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