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.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.0-ALPHA
    • 4.0-BETA, 6.0
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: