Hey Alex,

you can use api -

http://solrurl:8983/solr/admin/metrics?group=core&prefix=UPDATE.updateHandler

Find the collection shard and check for *autoCommits. *you should see the
count/number of autocommits triggered.

You can also check how much time(600000) it takes to increment the
autocommit count.

Thanks,
Sudhir.


On Wed, Oct 6, 2021 at 6:30 PM Saur, Alexandre (ELS-AMS) <
[email protected]> wrote:

> Hello there,
>
> I have a quick question regarding Solr 8 autocommit feature. This is my
> configuration:
>
> <autoCommit>
>         <maxTime>600000</maxTime>
>         <openSearcher>true</openSearcher>
> </autoCommit>
>
> <autoSoftCommit>
>         <maxTime>${solr.autoSoftCommit.maxTime:-1}</maxTime>
> </autoSoftCommit>
>
> I can check this is true using the console. However, I cannot see any
> thread doing the autocommit in the logs, nor any metric that gives me the
> time the autocommit is being done.
>
> Is there any way to know for sure the autocommit is working as expected in
> Solr 8?
>
> PS: Solr 6 had an entry in the logs that confirmed it was being executed,
> you just need to grep for "commitScheduler"
>
> Thanks,
> Alex
>
> ________________________________
>
> Elsevier B.V. Registered Office: Radarweg 29, 1043 NX Amsterdam, The
> Netherlands, Registration No. 33158992, Registered in The Netherlands.
>

Reply via email to