Paul Blanchaert created SOLR-15829:
--------------------------------------

             Summary: 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
      Security Level: Public (Default Security Level. Issues are Public)
          Components: Server
    Affects Versions: 8.3, main (9.0)
            Reporter: Paul Blanchaert


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.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to