I checked with the tomcat logs. Although the config says it to commit every 15000ms
<autoCommit> <maxTime>15000</maxTime> <openSearcher>false</openSearcher> </autoCommit> Strangely there are no commit logs. Did i miss anything? ------------------------------------------------------------------------- Having issues in Soft Auto commit (Near Real Time). Am using solr 4.0 on tomcat . The index size is 10.95 GB. With this configuration it takes more than 60 seconds to return the indexed document. When adding documents to solr and searching after soft commit time, its returning 0 hits. Its taking long before the document actually starts showing up, even more than the autoCommit interval. <autoCommit> <maxTime>15000</maxTime> <openSearcher>false</openSearcher> </autoCommit> <autoSoftCommit> <maxTime>1000</maxTime> </autoSoftCommit> Machine is ubuntu 13 / 4 cores / 16GB RAM. Given 6gb to Solr running over tomcat. On Fri, Jul 5, 2013 at 12:13 AM, Daniel Collins <danwcoll...@gmail.com>wrote: > You should see the commit messages in the solr logs, do they come up at the > expected frequency? > > > On 4 July 2013 15:35, Rohit Kumar <rohit.kku...@gmail.com> wrote: > > > My solr config has : > > > > <autoCommit> > > <maxTime>15000</maxTime> > > <openSearcher>false</openSearcher> > > </autoCommit> > > > > <!-- softAutoCommit is like autoCommit except it causes a > > 'soft' commit which only ensures that changes are visible > > but does not ensure that data is synced to disk. This is > > faster and more near-realtime friendly than a hard commit. > > --> > > <autoSoftCommit> > > <maxTime>1000</maxTime> > > </autoSoftCommit> > > > > > > Machine is ubuntu 13 / 4 cores / 16GB RAM. Given 6gb to Solr running > > over tomcat. > > > > > > Still when i am adding documents to solr and searching its returning 0 > > hits. Its taking long before the document actually starts showing up. > > > > Can somebody help. > > > > Thanks > > >