java.lang.Object | |
↳ | org.apache.lucene.index.IndexWriter.MaxFieldLength |
Specifies maximum field length (in number of tokens/terms) in IndexWriter
constructors.
setMaxFieldLength(int)
overrides the value set by
the constructor.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
LIMITED | Sets the maximum field length to
DEFAULT_MAX_FIELD_LENGTH
|
||||||||||
UNLIMITED | Sets the maximum field length to MAX_VALUE . |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public constructor to allow users to specify the maximum field size limit.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Sets the maximum field length to
DEFAULT_MAX_FIELD_LENGTH
Sets the maximum field length to MAX_VALUE
.
Public constructor to allow users to specify the maximum field size limit.
limit | The maximum field length |
---|