|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lucene.index.IndexWriter.MaxFieldLength
LimitTokenCountAnalyzer
instead.
@Deprecated public static final class IndexWriter.MaxFieldLength
Specifies maximum field length (in number of tokens/terms) in
IndexWriter
constructors. IndexWriter.setMaxFieldLength(int)
overrides
the value set by the constructor.
Field Summary | |
---|---|
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 Summary | |
---|---|
IndexWriter.MaxFieldLength(int limit)
Deprecated. Public constructor to allow users to specify the maximum field size limit. |
Method Summary | |
---|---|
int |
getLimit()
Deprecated. |
String |
toString()
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final IndexWriter.MaxFieldLength UNLIMITED
Integer.MAX_VALUE
.
public static final IndexWriter.MaxFieldLength LIMITED
IndexWriter.DEFAULT_MAX_FIELD_LENGTH
Constructor Detail |
---|
public IndexWriter.MaxFieldLength(int limit)
limit
- The maximum field lengthMethod Detail |
---|
public int getLimit()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |