LimitTokenCountAnalyzer
instead.@Deprecated public static final class IndexWriter.MaxFieldLength extends Object
IndexWriter
constructors. IndexWriter.setMaxFieldLength(int)
overrides
the value set by the constructor.Modifier and Type | Field and Description |
---|---|
static IndexWriter.MaxFieldLength |
LIMITED
Deprecated.
Sets the maximum field length to
IndexWriter.DEFAULT_MAX_FIELD_LENGTH |
static IndexWriter.MaxFieldLength |
UNLIMITED
Deprecated.
Sets the maximum field length to
Integer.MAX_VALUE . |
Constructor and Description |
---|
IndexWriter.MaxFieldLength(int limit)
Deprecated.
Public constructor to allow users to specify the maximum field size limit.
|
public static final IndexWriter.MaxFieldLength UNLIMITED
Integer.MAX_VALUE
.public static final IndexWriter.MaxFieldLength LIMITED
IndexWriter.DEFAULT_MAX_FIELD_LENGTH