/// <summary> /// Creates a new codec. /// <p> /// The provided name will be written into the index segment: in order to /// for the segment to be read this class should be registered with Java's /// SPI mechanism (registered in META-INF/ of your jar file, etc). </summary> /// <param name="name"> must be all ascii alphanumeric, and less than 128 characters in length. </param> protected internal Codec(string name_) { NamedSPILoader <Codec> .CheckServiceName(name_); this.name = name_; }
/// <summary> /// Creates a new docvalues format. /// <p> /// The provided name will be written into the index segment in some configurations /// (such as when using {@code PerFieldDocValuesFormat}): in such configurations, /// for the segment to be read this class should be registered with Java's /// SPI mechanism (registered in META-INF/ of your jar file, etc). </summary> /// <param name="name"> must be all ascii alphanumeric, and less than 128 characters in length. </param> protected internal DocValuesFormat(string name) { NamedSPILoader <DocValuesFormat> .CheckServiceName(name); this.Name_Renamed = name; }
/// <summary> /// Creates a new postings format. /// <p> /// The provided name will be written into the index segment in some configurations /// (such as when using <seealso cref="PerFieldPostingsFormat"/>): in such configurations, /// for the segment to be read this class should be registered with Java's /// SPI mechanism (registered in META-INF/ of your jar file, etc). </summary> /// <param name="name"> must be all ascii alphanumeric, and less than 128 characters in length. </param> protected internal PostingsFormat(string name) { NamedSPILoader <PostingsFormat> .CheckServiceName(name); this.name = name; }