You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Jan Høydahl (Jira)" <ji...@apache.org> on 2024/02/24 19:34:00 UTC
[jira] [Commented] (SOLR-15829) IllegalStateException when using Managed resources (e.g. ManagedSynonymGraphFilterFactory)
[ https://issues.apache.org/jira/browse/SOLR-15829?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17820405#comment-17820405 ]
Jan Høydahl commented on SOLR-15829:
------------------------------------
Hi,
Interpreting your conditions here, when solr uses Managed Schmea and cannot find the default "managed-schema" (or "managed-schema.xml" in latest versions), then it will try to find a "solr.xml" and automatically migrate it to a managed schema by renaming.
I took the liberty of rebasing your PR on current main and force-pushing to trigger full tests. Then we can also see if it is still an issue.
> IllegalStateException when using Managed resources (e.g. ManagedSynonymGraphFilterFactory)
> ------------------------------------------------------------------------------------------
>
> Key: SOLR-15829
> URL: https://issues.apache.org/jira/browse/SOLR-15829
> Project: Solr
> Issue Type: Bug
> Components: Server
> Affects Versions: 8.3, 9.0
> Reporter: Paul Blanchaert
> Priority: Minor
> Time Spent: 20m
> Remaining Estimate: 0h
>
> An IllegalStateException is thrown when the managed resource is required for a field (to add a document or to use in qparser) and the collection has not yet been reloaded.
> This issue is introduced in version 8.3 (SOLR-13739 looks a good candidate) and is up till now unresolved.
> Use case to reproduce:
> * at least 2 cores (shards or replicas) of the same collection on the same (SolrCloud) node
> * solrconfig with schemaFactory class="ManagedIndexSchemaFactory"
> * schema provided via file "schema.xml" (issue doesn't occur with file "managed-schema"); this might be easy workaround
> * field with managed resource involved e.g. solr.ManagedSynonymGraphFilterFactory (at index time: exception when adding doc / at query time: when involved in query parsing)
> I'll provide pull request with reproducible test case.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org