autoCommit is disabled in solrconfig.xml and I use SolrServer::addBeans(beans, 100) for inserts. I need to insert new documents continually in high rate with concurrent running queries.
Best regards, Lyuba On Tue, Dec 27, 2011 at 6:15 PM, Yonik Seeley <yo...@lucidimagination.com>wrote: > On Tue, Dec 27, 2011 at 10:43 AM, Lyuba Romanchuk > <lyuba.romanc...@gmail.com> wrote: > > I test facets and stats in Solr 3.5 and I see that queries are running a > > lot slower during inserts into index with more than 15M documents . > > Are you also doing commits (or have autocommit enabled)? > The first time a facet command is used for a field after a commit, > certain data structures need to be constructed. > To avoid slow first requests like this, you can add a request that > does the faceting as a static warming query that will be run before > any live queries use the new searcher. > > -Yonik > http://www.lucidimagination.com >