Example usage for Java org.apache.solr.schema FieldType fields, constructors, methods, implement or subclass
The text is from its open source code.
Analyzer | getIndexAnalyzer() Returns the Analyzer to be used when indexing fields of this type. |
Analyzer | getQueryAnalyzer() Returns the Analyzer to be used when searching fields of this type. |
Query | getRangeQuery(QParser parser, SchemaField field, String part1, String part2, boolean minInclusive, boolean maxInclusive) Returns a Query instance for doing range searches on this field type. |
MultiTermQuery.RewriteMethod | getRewriteMethod(QParser parser, SchemaField field) Expert: Returns the rewrite method for multiterm queries such as wildcards. |
String | getTypeName() The Name of this FieldType as specified in the schema file |
ValueSource | getValueSource(SchemaField field, QParser parser) called to get the default value source (normally, from the Lucene FieldCache.) |
CharsRef | indexedToReadable(BytesRef input, CharsRefBuilder output) Given an indexed term, append the human readable representation |
String | indexedToReadable(String indexedForm) Given an indexed term, return the human readable representation |
String | readableToIndexed(String val) Given the readable value, return the term value that will match it. |
void | readableToIndexed(CharSequence val, BytesRefBuilder result) Given the readable value, return the term value that will match it. |
String | toInternal(String val) Convert an external value (from XML update command or from query string) into the internal format for both storing and indexing (which can be modified by any analyzers). |
Object | toObject(IndexableField f) Convert the stored-field format to an external object. |