Package org.apache.solr.schema
Class SchemaManager
- java.lang.Object
- 
- org.apache.solr.schema.SchemaManager
 
- 
 public class SchemaManager extends Object A utility class to manipulate schema using the bulk mode. This class takes in all the commands and processes them completely. It is an all or nothing operation.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classSchemaManager.OpType
 - 
Constructor SummaryConstructors Constructor Description SchemaManager(SolrQueryRequest req)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StringgetErrorStr(Exception e)List<Map<String,Object>>performOperations()Take in a JSON command set and execute them.
 
- 
- 
- 
Constructor Detail- 
SchemaManagerpublic SchemaManager(SolrQueryRequest req) 
 
- 
 - 
Method Detail- 
performOperationspublic List<Map<String,Object>> performOperations() throws Exception Take in a JSON command set and execute them. It tries to capture as many errors as possible instead of failing at the first error it encounters- Returns:
- List of errors. If the List is empty then the operation was successful.
- Throws:
- Exception
 
 
- 
 
-