| java.lang.Object org.apache.solr.schema.FieldProperties org.apache.solr.schema.SchemaField
SchemaField | final public class SchemaField extends FieldProperties (Code) | | Encapsulates all information about a Field in a Solr Schema
author: yonik version: $Id: SchemaField.java 533571 2007-04-29 23:03:03Z ryan $ |
Constructor Summary | |
public | SchemaField(String name, FieldType type) Create a new SchemaField with the given name and type,
using all the default properties from the type. | public | 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. | public | SchemaField(String name, FieldType type, int properties, String defaultValue) Create a new SchemaField with the given name and type,
and with the specified properties. |
properties | final int properties(Code) | | |
required | boolean required(Code) | | |
SchemaField | public SchemaField(String name, FieldType type)(Code) | | Create a new SchemaField with the given name and type,
using all the default properties from the type.
|
SchemaField | public SchemaField(SchemaField prototype, String name)(Code) | | Create a new SchemaField from an existing one by using all
of the properties of the prototype except the field name.
|
SchemaField | public SchemaField(String name, FieldType type, int properties, String defaultValue)(Code) | | Create a new SchemaField with the given name and type,
and with the specified properties. Properties are *not*
inherited from the type in this case, so users of this
constructor should derive the properties from type.getProperties()
using all the default properties from the type.
|
createField | public Field createField(String val, float boost)(Code) | | |
getProperties | int getProperties()(Code) | | |
getSortField | public SortField getSortField(boolean top)(Code) | | |
indexed | public boolean indexed()(Code) | | |
isBinary | boolean isBinary()(Code) | | |
isCompressed | public boolean isCompressed()(Code) | | |
isRequired | public boolean isRequired()(Code) | | |
isTokenized | boolean isTokenized()(Code) | | |
multiValued | public boolean multiValued()(Code) | | |
omitNorms | public boolean omitNorms()(Code) | | |
sortMissingFirst | public boolean sortMissingFirst()(Code) | | |
sortMissingLast | public boolean sortMissingLast()(Code) | | |
storeTermOffsets | public boolean storeTermOffsets()(Code) | | |
storeTermPositions | public boolean storeTermPositions()(Code) | | |
storeTermVector | public boolean storeTermVector()(Code) | | |
stored | public boolean stored()(Code) | | |
|
|