Re: disable auto-commit

2018-12-13 Thread Danilo Tomasoni
On 13/12/18 16:48, Mikhail Khludnev wrote: solr.log.9:2018-12-13 09:35:31.921 INFO (recoveryExecutor-9-thread-1-processing-x:COSBIBioIndex) [ x:COSBIBioIndex] o.a.s.u.DirectUpdateHandler2 start commit{flags=2,optimize=false,openSearcher=true,waitSearcher=true,expungeDeletes=false,softCommit=fal

Re: disable auto-commit

2018-12-13 Thread Mikhail Khludnev
solr.log.9:2018-12-13 09:35:31.921 INFO (recoveryExecutor-9-thread-1-processing-x:COSBIBioIndex) [ x:COSBIBioIndex] o.a.s.u.DirectUpdateHandler2 start commit{flags=2,optimize=false,openSearcher=true,waitSearcher=true,expungeDeletes=false,softCommit=false,prepareCommit=false} so,recovery have been

Re: disable auto-commit

2018-12-13 Thread Danilo Tomasoni
On 13/12/18 10:29, Mikhail Khludnev wrote: Do you have any idea of why this happens? One just commit it every time, or send, append commitWithin param. Can you grep logs for 'commit' word occurrence? Also it's possible to increase log verbosity for LogUpdateProcessor. here it is solr.lo

Re: disable auto-commit

2018-12-13 Thread Mikhail Khludnev
> Do you have any idea of why this happens? One just commit it every time, or send, append commitWithin param. Can you grep logs for 'commit' word occurrence? Also it's possible to increase log verbosity for LogUpdateProcessor. On Thu, Dec 13, 2018 at 10:15 AM Danilo Tomasoni wrote: > Hello I

Re: disable auto-commit

2018-12-12 Thread Danilo Tomasoni
Hello I tried setting both autocommit and autosoftcommit to -1, but i still see the documents just seconds after indexing it. These are the actual configurations in /conf/solrconfig.xml ${solr.autoCommit.maxTime:999}   false             ${solr.autoSoftCommit.maxTime:999}    

Re: disable auto-commit

2018-12-12 Thread Erick Erickson
The answer to your question is to set the interval to -1. however, for that's a really bad idea. Why do you think this will help with OOM errors? _Querying_ usually is the place OOMs are generated, especially if you do things like facet on very high-cardinality fields and/or do _not_ have docValu

Re: disable auto-commit

2018-12-12 Thread Danilo Tomasoni
I want to disable even that. I saw here https://lucene.apache.org/solr/guide/6_6/updatehandlers-in-solrconfig.html that probably to achieve what I want I just need to comment out the autoCommit tag.. correct? What do you think about disabling autocommit/autosoftcommit? it can lower the sys

Re: disable auto-commit

2018-12-12 Thread Mikhail Khludnev
What about autoSoftCommit ? On Wed, Dec 12, 2018 at 3:24 PM Danilo Tomasoni wrote: > Hello, I'm experiencing oom while indexing a big amount of documents. > > The main idea to avoid OOM is to avoid commit (just one big commit at > the end). > > Is this a correct idea? > > How can I disable autoc