@Deprecated public static final class IndexWriter.MaxFieldLength extends Object
LimitTokenCountAnalyzer
instead.IndexWriter
constructors. IndexWriter.setMaxFieldLength(int)
overrides
the value set by the constructor.Modifier and Type | Field | 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 | Description |
---|---|
MaxFieldLength(int limit) |
Deprecated.
Public constructor to allow users to specify the maximum field size limit.
|
Modifier and Type | Method | Description |
---|---|---|
int |
getLimit() |
Deprecated.
|
String |
toString() |
Deprecated.
|
public static final IndexWriter.MaxFieldLength UNLIMITED
Integer.MAX_VALUE
.public static final IndexWriter.MaxFieldLength LIMITED
IndexWriter.DEFAULT_MAX_FIELD_LENGTH
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.