PointValues
instead@Deprecated public class LegacyField extends Field
Field.Store
fieldsData, name, tokenStream, type
Constructor and Description |
---|
LegacyField(String name,
LegacyFieldType type)
Deprecated.
Expert: creates a field with no initial value.
|
Modifier and Type | Method and Description |
---|---|
void |
setTokenStream(TokenStream tokenStream)
Deprecated.
|
TokenStream |
tokenStream(Analyzer analyzer,
TokenStream reuse)
Deprecated.
|
binaryValue, fieldType, name, numericValue, readerValue, setBytesValue, setBytesValue, setByteValue, setDoubleValue, setFloatValue, setIntValue, setLongValue, setReaderValue, setShortValue, setStringValue, stringValue, tokenStreamValue, toString
public LegacyField(String name, LegacyFieldType type)
name
- field nametype
- field typeIllegalArgumentException
- if either the name or type
is null.public TokenStream tokenStream(Analyzer analyzer, TokenStream reuse)
tokenStream
in interface IndexableField
tokenStream
in class Field
public void setTokenStream(TokenStream tokenStream)
setTokenStream
in class Field
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.