Hi, The issue was buildOnCommit=true on a SuggestComponent.
Dominique Le mar. 2 févr. 2021 à 00:54, Shawn Heisey <apa...@elyograg.org> a écrit : > On 2/1/2021 12:08 AM, haris.k...@vnc.biz wrote: > > Hope you're doing good. I am trying to configure NRT - Indexing in my > > project. For this reason, I have configured *autoSoftCommit* to execute > > every second and *autoCommit* to execute every 5 minutes. Everything > > works as expected on the dev and test server. But on the production > > server, there are more than 6 million documents indexed in Solr, so > > whenever a new document is indexed it takes 2-3 minutes before appearing > > in the search despite the setting I have described above. Since the > > target is to develop a real-time system, this delay of 2-3 minutes is > > not acceptable. How can I reduce this time window? > > Setting autoSoftCommit with a max time of 1000 (one second) does not > mean you will see changes within one second. It means that one second > after indexing begins, Solr will start a soft commit operation. That > commit operation must fully complete and the new searcher must come > online before changes are visible. Those steps may take much longer > than one second, which seems to be happening on your system. > > With the information available, I cannot tell you why your commits are > taking so long. One of the most common reasons for poor Solr > performance is a lack of free memory on the system for caching purposes. > > Thanks, > Shawn >