Example usage for Java org.apache.solr.schema SchemaField fields, constructors, methods, implement or subclass
The text is from its open source code.
SchemaField(String name, FieldType type, int properties, String defaultValue) Create a new SchemaField with the given name and type, and with the specified properties. | |
SchemaField(String name, FieldType type) Create a new SchemaField with the given name and type, using all the default properties from the type. | |
SchemaField(SchemaField prototype, String name) Create a new SchemaField from an existing one by using all of the properties of the prototype except the field name. |
void | checkSortability() Sanity checks that the properties of this field type are plausible for a field that may be used in sorting, throwing an appropriate exception (including the field name) if it is not. |
String | getName() |
int | getProperties() |
FieldType | getType() |
boolean | hasDocValues() |
boolean | indexed() |
boolean | isRequired() |
boolean | multiValued() |
boolean | omitNorms() |
boolean | omitPositions() |
boolean | omitTermFreqAndPositions() |
boolean | stored() |
boolean | storeTermOffsets() |
boolean | storeTermPositions() |
boolean | storeTermVector() |
void | write(TextResponseWriter writer, String name, IndexableField val) |