Thanks Mohandoss, It is realtime inserting and updating if a query is executed. My environment is three nodes, 3 shards and 2 replicas.
I noticed there was master slave mode in the old version, but for solr cloud, I don’t know whether it is doable. Derrick Sent from my iPhone > On Jan 21, 2021, at 3:15 AM, Doss <itsmed...@gmail.com> wrote: > > Hi, > > You haven't shared information about your environment and how frequently > you are commiting the changes, whether your user searching collection gets > real time inserts / updates etc., > > but if you are not doing any real time analysis with the user query > information, you can store the information in mysql table and do a batch > import(full or delta). If you want the current approach then try increasing > the commit interval. > > Recently I have asked the same question and get to know that we can use > shards.preference (Replica Types) to achieve our requirement > https://lucene.472066.n3.nabble.com/Solrcloud-Reads-on-specific-nodes-tp4467568.html > > - Mohandoss > >> On Wed, Jan 20, 2021 at 7:22 PM Luke <lucenew...@gmail.com> wrote: >> >> Hi, >> >> I have one data collection on 3 shards and 2 replicas, user searches on it. >> Also I log all user queries and save to another collection on the same solr >> cloud, but user queries are very slow when there are a lot of logs to be >> written to the log collection. >> >> any solution for me, please advise. or does solr support separate write >> operation on different node and read on other nodes? >>