You should use solr softcommit for this use case. So, by setting softcommit to 5 seconds and autoCommit to minute with openSearcher=false should do the work.
<autoCommit> <maxTime>60000</maxTime> <openSearcher>false</openSearcher> </autoCommit> <autoSoftCommit> <maxTime>2000</maxTime> </autoSoftCommit> Reference link- https://cwiki.apache.org/confluence/display/solr/Near+Real+Time+Searching To know more about solr hard and soft commits, have a look at this blog : https://lucidworks.com/blog/2013/08/23/understanding-transaction-logs-softcommit-and-commit-in-sorlcloud/ On Tue, Jan 5, 2016 at 5:44 PM, Novin Novin <toe.al...@gmail.com> wrote: > Hi guys, > > I'm having trouble to figure what would be idle solr config for where: > > I'm doing hard commit in every minute for very few number of users > because I have to show those docs in search results quickly when user save > the changes. > > It is causing the response in around 2 secs to show even I am getting only > 10 records. > > Could you able to give some idea where to look at. > > > Thanks in advance, > Novin >