lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Senthuran Sivananthan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-4370) Ability to control the commit behaviour of commitWithin
Date Mon, 28 Jan 2013 23:11:13 GMT

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

Senthuran Sivananthan commented on SOLR-4370:
---------------------------------------------

At the same time, if we don't commit during update, isn't it the auto commit that's actually
doing the commit based on maxTime, maxDoc or commitWithin?
                
> Ability to control the commit behaviour of commitWithin
> -------------------------------------------------------
>
>                 Key: SOLR-4370
>                 URL: https://issues.apache.org/jira/browse/SOLR-4370
>             Project: Solr
>          Issue Type: New Feature
>          Components: replication (java)
>    Affects Versions: 4.0, 4.1
>            Reporter: Senthuran Sivananthan
>            Assignee: Mark Miller
>             Fix For: 4.2, 5.0
>
>         Attachments: SOLR-4370.patch, with_commit.txt, without_commit.txt
>
>
> We need the ability to control the hard/soft commit behaviour of commitWithin parameter.
> Since Solr 4.0, the commitWithin's performs a soft-commit which prevents slaves from
picking up the changes in a master/slave configuration.
> The behaviour I'm thinking is as follows:
> 1.  By default, commitWithin will trigger soft commits.
> 2.  But this behaviour can be overwritten in solrconfig.xml to allow commitWithin to
perform hard commits, which will allow slaves to pick up the changes.
> 	<commitWithin>
> 		<forceHardCommit>true</forceHardCommit> <!-- default is false -->
> 	</commitWithin>
> Related to SOLR-4100

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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


Mime
View raw message