Package org.apache.solr.schema
Class SchemaManager
java.lang.Object
org.apache.solr.schema.SchemaManager
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 Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringTake in a set of schema commands and execute them.
-
Constructor Details
-
SchemaManager
-
-
Method Details
-
performOperations
Take in a set of schema commands 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
-
getErrorStr
-