Java org.apache.solr.schema SchemaField fields, constructors, methods, implement or subclass

Example usage for Java org.apache.solr.schema SchemaField fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.solr.schema SchemaField.

The text is from its open source code.

Constructor

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.

Method

voidcheckSortability()
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.
StringgetName()
intgetProperties()
FieldTypegetType()
booleanhasDocValues()
booleanindexed()
booleanisRequired()
booleanmultiValued()
booleanomitNorms()
booleanomitPositions()
booleanomitTermFreqAndPositions()
booleanstored()
booleanstoreTermOffsets()
booleanstoreTermPositions()
booleanstoreTermVector()
voidwrite(TextResponseWriter writer, String name, IndexableField val)