This class breaks some encapsulation of general java classes to be configurable via the xml configuration file. The will be very less type and value checking of the properties inside this file. Mandatory values must be set in the configuration file. The server won't start up if these values are missing. See definition in the xml schema file. If this class is instantiated manually the value for the name of the schema should be set before this is passed to the IndexController.
One IndexSchema consists of multiple instances of {@link org.apache.lucene.gdata.search.config.IndexSchemaField} each of thisinstances describes a single field in the index and all schema informations about the field.
@see org.apache.lucene.gdata.search.config.IndexSchemaField @author Simon Willnauer
IndexSchema
contains information about the valid fields in an index and the types of those fields.
@version $Id: IndexSchema.java 1150510 2011-07-24 22:46:43Z hossman $
@author Andy Likuski (alikuski@cafepress.com) @author Britt Crawford (bcrawford@cafepress.com)
|
|
|
|
|
|
|
|