On 1/21/2015 9:15 AM, Clemens Wyss DEV wrote:
> What I meant is:
> If I do SolrServer#rollback after 11 documents were added, will then only 1
> or all 11 docments that have been added "in the
> SolrServer-tranascation/context"?
If autoCommit is set to 10 docs and openSearcher is true, it would
ar 2015 15:24
An: solr-user@lucene.apache.org
Betreff: Re: AW: AW: transactions@Solr(J)
On 1/20/2015 11:42 PM, Clemens Wyss DEV wrote:
> But then what happens if:
> Autocommit is set to 10 docs
> and
> I add 11 docs and then decide (due to an exception?) to rollback.
>
> Will o
On 1/20/2015 11:42 PM, Clemens Wyss DEV wrote:
> But then what happens if:
> Autocommit is set to 10 docs
> and
> I add 11 docs and then decide (due to an exception?) to rollback.
>
> Will only one (i.e. the last added) document be rollen back?
The way I understand the low-level architecture, yes
: Dienstag, 20. Januar 2015 16:10
An: solr-user@lucene.apache.org
Betreff: Re: AW: transactions@Solr(J)
Yes -- autoCommit works just the same as if you had a timer in your app
committing. You have to turn it off if you want to maintain the ability to
roll back predictably.
-Mike
On 01/20/2015 09:19
Yes -- autoCommit works just the same as if you had a timer in your app
committing. You have to turn it off if you want to maintain the ability
to roll back predictably.
-Mike
On 01/20/2015 09:19 AM, Clemens Wyss DEV wrote:
Thanks Mike,
but a key difference is that when one client commits,
Thanks Mike,
> but a key difference is that when one client commits, all clients will see
> the updates
That's ok.
What about the -setting(s) in solrconfig.xml. Doesn't this mean
that after adding x elements (or after a certain timeframe), the changes are
commited and hence no more rollbackable