public static int getNumberOfIndexingThreads() {
    int threadCount = INDEXER_THREAD_COUNT;
    if (threadCount <= 0) {
      threadCount =
        Math.max(1, Math.min(useConservativeThreadCountPolicy
                             ? DEFAULT_MAX_INDEXER_THREADS : getMaxNumberOfIndexingThreads(), getMaxNumberOfIndexingThreads()));
    }
    return threadCount;
  }
public static int getNumberOfIndexingThreads()