You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Andrey Kudryavtsev (JIRA)" <ji...@apache.org> on 2017/05/15 18:31:04 UTC

[jira] [Commented] (SOLR-10691) Allow to not commit index on core close

    [ https://issues.apache.org/jira/browse/SOLR-10691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16011059#comment-16011059 ] 

Andrey Kudryavtsev commented on SOLR-10691:
-------------------------------------------

It looks like {{IndexWriter#shutdown}} is currently used in Solr for.. correct core initialisation (for initial segments_* file creation at least) 

Can't just avoid it )

> Allow to not commit index on core close
> ---------------------------------------
>
>                 Key: SOLR-10691
>                 URL: https://issues.apache.org/jira/browse/SOLR-10691
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Ivan Mamontov
>            Priority: Trivial
>         Attachments: SOLR-10691.patch
>
>
> 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}}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org