Lucene.Net  3.0.3
Lucene.Net is a .NET port of the Java Lucene Indexing Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties
Public Member Functions | Static Public Attributes | Properties | List of all members
Lucene.Net.Index.IndexWriter.MaxFieldLength Class Reference

Specifies maximum field length (in number of tokens/terms) in IndexWriter constructors. SetMaxFieldLength(int) overrides the value set by the constructor. More...

Public Member Functions

 MaxFieldLength (int limit)
 Public constructor to allow users to specify the maximum field size limit.
 
override System.String ToString ()
 

Static Public Attributes

static readonly MaxFieldLength UNLIMITED = new MaxFieldLength("UNLIMITED", System.Int32.MaxValue)
 Sets the maximum field length to int.MaxValue.
 
static readonly MaxFieldLength LIMITED
 Sets the maximum field length to DEFAULT_MAX_FIELD_LENGTH
 

Properties

int Limit [get]
 

Detailed Description

Specifies maximum field length (in number of tokens/terms) in IndexWriter constructors. SetMaxFieldLength(int) overrides the value set by the constructor.

Definition at line 5783 of file IndexWriter.cs.

Constructor & Destructor Documentation

Lucene.Net.Index.IndexWriter.MaxFieldLength.MaxFieldLength ( int  limit)

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

Parameters
limitThe maximum field length

Definition at line 5807 of file IndexWriter.cs.

Member Function Documentation

override System.String Lucene.Net.Index.IndexWriter.MaxFieldLength.ToString ( )

Definition at line 5816 of file IndexWriter.cs.

Member Data Documentation

readonly MaxFieldLength Lucene.Net.Index.IndexWriter.MaxFieldLength.LIMITED
static

Sets the maximum field length to DEFAULT_MAX_FIELD_LENGTH

Definition at line 5828 of file IndexWriter.cs.

readonly MaxFieldLength Lucene.Net.Index.IndexWriter.MaxFieldLength.UNLIMITED = new MaxFieldLength("UNLIMITED", System.Int32.MaxValue)
static

Sets the maximum field length to int.MaxValue.

Definition at line 5822 of file IndexWriter.cs.

Property Documentation

int Lucene.Net.Index.IndexWriter.MaxFieldLength.Limit
get

Definition at line 5812 of file IndexWriter.cs.


The documentation for this class was generated from the following file: