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

Allow to not commit index on core close

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Trivial
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      As a Solr user I would like to avoid unnecessary commits into Solr/Lucene index on org.apache.solr.update.SolrIndexWriter#close in case IW has uncommitted changes.
      In org.apache.lucene.index.IndexWriterConfig(LUCENE-5871) there is a property which is currently used to decide whether to commit or discard uncommitted changes when you call close(). Unfortunately Solr does not support this property in org.apache.solr.update.SolrIndexConfig

      Attachments

        1. SOLR-10691.patch
          6 kB
          Ivan Mamontov

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ivan.mamontov Ivan Mamontov
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: