Lucene.Net.Index.IndexWriterConfig.IndexWriterConfig C# (CSharp) 메소드

IndexWriterConfig() 공개 메소드

Creates a new config that with defaults that match the specified Version as well as the default {@link Analyzer}. If matchVersion is >= {@link Version#LUCENE_32}, TieredMergePolicy is used for merging; else LogByteSizeMergePolicy. Note that TieredMergePolicy is free to select non-contiguous merges, which means docIDs may not remain monotonic over time. If this is a problem you should switch to LogByteSizeMergePolicy or LogDocMergePolicy.
public IndexWriterConfig ( Version matchVersion, Analyzer analyzer ) : System
matchVersion Version
analyzer Analyzer
리턴 System
        public IndexWriterConfig(Version matchVersion, Analyzer analyzer)
            : base(analyzer, matchVersion)
        {
        }