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

After reloading a core, indexing will fail on any newly added fields to the schema.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0-ALPHA
    • Fix Version/s: 4.0-BETA, 6.0
    • Component/s: None
    • Labels:
      None

      Description

      This is just another instantiation of SOLR-3587.

      Because the IndexWriter is kept open, the Codec still uses the old schema, and when asked to index for the field, doesn't know about it and returns an error.

      We could dodge the problem for now by turning off per-field codec support by default, requiring users to turn it on explicitly in solrconfig.xml (like similarity), knowing they are making a tradeoff by doing that (same goes for Similarity if you are using a per-field configuration).

        Attachments

        1. SOLR-3610.patch
          13 kB
          Robert Muir
        2. SOLR-3610.patch
          10 kB
          Robert Muir

          Issue Links

            Activity

              People

              • Assignee:
                rcmuir Robert Muir
                Reporter:
                rcmuir Robert Muir
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: