: autoCommit is disabled in solrconfig.xml and I use
: SolrServer::addBeans(beans, 100) for inserts.

have you looked at the javadocs for that method?

https://lucene.apache.org/solr/api/org/apache/solr/client/solrj/SolrServer.html#addBean%28java.lang.Object,%20int%29

  public UpdateResponse addBean(Object obj,
                                int commitWithinMs)
  Parameters:
    obj - the input bean
    commitWithinMs - max time (in ms) before a commit will happen

...so you are in fact asking solr to do a commit within 0.1 second of 
every document you add.

: > 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.


-Hoss

Reply via email to