C# Class Lucene.Net.Index.IndexWriter.MaxFieldLength

Show file Open project: synhershko/lucene.net Class Usage Examples

Public Properties

Property Type Description
LIMITED MaxFieldLength
UNLIMITED MaxFieldLength

Public Methods

Method Description
MaxFieldLength ( int limit ) : System

Public constructor to allow users to specify the maximum field size limit.

ToString ( ) : System.String

Private Methods

Method Description
MaxFieldLength ( ) : System
MaxFieldLength ( System name, int limit ) : System

Private type-safe-enum-pattern constructor.

Method Details

MaxFieldLength() public method

Public constructor to allow users to specify the maximum field size limit.
public MaxFieldLength ( int limit ) : System
limit int The maximum field length ///
return System

ToString() public method

public ToString ( ) : System.String
return System.String

Property Details

LIMITED public static property

Sets the maximum field length to DEFAULT_MAX_FIELD_LENGTH
public static MaxFieldLength LIMITED
return MaxFieldLength

UNLIMITED public static property

Sets the maximum field length to int.MaxValue.
public static MaxFieldLength UNLIMITED
return MaxFieldLength