Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-15829

IllegalStateException when using Managed resources (e.g. ManagedSynonymGraphFilterFactory)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 8.3, 9.0
    • None
    • Server
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              paul@search-solutions.net Paul Blanchaert
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h