mirror of https://github.com/apache/lucene.git
use config directly
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1083154 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3dcbc2cc16
commit
576084d69a
|
@ -278,7 +278,7 @@ final class DocumentsWriter {
|
|||
DocumentsWriter(IndexWriterConfig config, Directory directory, IndexWriter writer, FieldInfos fieldInfos, BufferedDeletesStream bufferedDeletesStream) throws IOException {
|
||||
this.directory = directory;
|
||||
this.writer = writer;
|
||||
this.similarityProvider = writer.getConfig().getSimilarityProvider();
|
||||
this.similarityProvider = config.getSimilarityProvider();
|
||||
this.maxThreadStates = config.getMaxThreadStates();
|
||||
this.fieldInfos = fieldInfos;
|
||||
this.bufferedDeletesStream = bufferedDeletesStream;
|
||||
|
|
Loading…
Reference in New Issue