public interface IndexableField
| Modifier and Type | Method and Description |
|---|---|
BytesRef |
binaryValue()
Non-null if this field has a binary value
|
float |
boost()
Field boost (you must pre-multiply in any doc boost).
|
IndexableFieldType |
fieldType()
IndexableFieldType describing the properties
of this field. |
String |
name()
Field name
|
Number |
numericValue()
Non-null if this field has a numeric value
|
Reader |
readerValue()
Non-null if this field has a Reader value
|
String |
stringValue()
Non-null if this field has a string value
|
TokenStream |
tokenStream(Analyzer analyzer)
Creates the TokenStream used for indexing this field.
|
String name()
IndexableFieldType fieldType()
IndexableFieldType describing the properties
of this field.float boost()
BytesRef binaryValue()
String stringValue()
Reader readerValue()
Number numericValue()
TokenStream tokenStream(Analyzer analyzer) throws IOException
analyzer - Analyzer that should be used to create the TokenStreams fromIOException - Can be thrown while creating the TokenStreamCopyright © 2000-2012 Apache Software Foundation. All Rights Reserved.