2

By default the example Solr application included with version 1.4.1 takes two minutes to process documents sent to the index. I've seen other servers configured to take 3+ minutes. Where can you change change this to zero or 15 seconds?

amateur barista
  • 478
  • 3
  • 7
  • 21

1 Answers1

4

You need to adjust autocommit option in your solrconfig.xml. By default its:

<autoCommit> 
  <maxDocs>2000</maxDocs>
  <maxTime>120000</maxTime> 
</autoCommit>

maxTime is what you need, it's in miliseconds.

Nikola Kotur
  • 240
  • 1
  • 4