Re: solr 7 optimize with Tlog/Pull replicas

2019-03-10 Thread Wei
A side question, for heavy bulk indexing, what's the recommended setting for auto commit? As there is no query needed during the bulking indexing process, I have auto soft commit disabled. Is there any side effect if I also disable auto commit? On Sun, Mar 10, 2019 at 10:22 PM Wei wrote: >

Re: solr 7 optimize with Tlog/Pull replicas

2019-03-10 Thread Wei
Thanks Erick. 1> TLOG replicas shouldn’t optimize on the follower. They should optimize on the leader then replicate the entire index to the follower. Does that mean the follower will ignore the optimize request? Or shall I send the optimize request only to one of the leaders? 2> As of Solr

Function query scale

2019-03-10 Thread Vincenzo D'Amore
Hi all, starting to work on a new project I've found a boost query configured in a Solr requesthandler. I would show you how this boost query because I'm interested to have some suggestions or advice in what are the benefits/drawbacks of this solution which is new to me. So let's say that every

Re: What causes new searcher to be created?

2019-03-10 Thread Erick Erickson
bq. I was under the wrong impression that autoCommit openSearcher=false would control those too. No, the settings in solrconfig.xml are the defaults. Like almost everything else in the config, they govern the action in the absence of a per-command override. Best, Erick > On Mar 10, 2019,

Re: What causes new searcher to be created?

2019-03-10 Thread John Davis
We do add commitWithin=XX when indexing updates, I take it that triggers new searcher when the commit is made? I was under the wrong impression that autoCommit openSearcher=false would control those too. On Sat, Mar 9, 2019 at 9:00 PM Erick Erickson wrote: > Nothing should be opening new

Re: What causes new searcher to be created?

2019-03-10 Thread Shawn Heisey
On 3/9/2019 8:24 PM, John Davis wrote: I couldn't find an answer to this in the docs: if openSearcher is set to false in the autocommit with no softcommits, what triggers a new one to be created? My assumption is that until a new searcher is created all the newly indexed docs will not be