Ejemplo n.º 1
0
 /// <summary>
 /// Creates a compressing codec with a given segment suffix
 /// </summary>
 protected CompressingCodec(string name, string segmentSuffix, CompressionMode compressionMode, int chunkSize)
     : base(name, new Lucene46Codec())
 {
     this.StoredFieldsFormat_Renamed = new CompressingStoredFieldsFormat(name, segmentSuffix, compressionMode, chunkSize);
     this.TermVectorsFormat_Renamed = new CompressingTermVectorsFormat(name, segmentSuffix, compressionMode, chunkSize);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Creates a compressing codec with a given segment suffix
 /// </summary>
 protected CompressingCodec(string segmentSuffix, CompressionMode compressionMode, int chunkSize)
     : base(new Lucene46Codec())
 {
     this.StoredFieldsFormat_Renamed = new CompressingStoredFieldsFormat(this.Name, segmentSuffix, compressionMode, chunkSize);
     this.TermVectorsFormat_Renamed  = new CompressingTermVectorsFormat(this.Name, segmentSuffix, compressionMode, chunkSize);
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Creates a compressing codec with a given <paramref name="segmentSuffix"/>.
 /// </summary>
 protected CompressingCodec(string segmentSuffix, CompressionMode compressionMode, int chunkSize) // LUCENENET: CA1012: Abstract types should not have constructors (marked protected)
     : base(new Lucene46Codec())
 {
     this.storedFieldsFormat = new CompressingStoredFieldsFormat(this.Name, segmentSuffix, compressionMode, chunkSize);
     this.termVectorsFormat  = new CompressingTermVectorsFormat(this.Name, segmentSuffix, compressionMode, chunkSize);
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Creates a compressing codec with a given <paramref name="segmentSuffix"/>.
 /// </summary>
 public CompressingCodec(string segmentSuffix, CompressionMode compressionMode, int chunkSize)
     : base(new Lucene46Codec())
 {
     this.storedFieldsFormat = new CompressingStoredFieldsFormat(this.Name, segmentSuffix, compressionMode, chunkSize);
     this.termVectorsFormat  = new CompressingTermVectorsFormat(this.Name, segmentSuffix, compressionMode, chunkSize);
 }