lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Audenaerde <>
Subject Number of threads in index writer config?
Date Thu, 27 Aug 2015 09:22:00 GMT
Hi all,

I was wondering about the number of threads to use for indexing.

There is a setting: getMaxThreadStates() in the IndexWriterConfig that
determines how many threads can write to the index  simultaneously.

The luceneutil (that is used for the nightly benchmarks),
seems to use the default value (8), while it uses 20 indexing threads.

Is there a reason to not set the maxThreadStates to the number of indexing


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message