Interface IndexManagerBuilder
public interface IndexManagerBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Build the mapping based on theschemaRootNodeBuilder()
metadata contributed} so far.void
Close any allocated resource.
-
Method Details
-
closeOnFailure
void closeOnFailure()Close any allocated resource.This method is called when an error occurs while starting up Hibernate Search. When this method is called, it is guaranteed to be the last call on the builder.
-
schemaRootNodeBuilder
IndexRootBuilder schemaRootNodeBuilder()- Returns:
- An
IndexRootBuilder
allowing to contribute metadata about the index schema.Never called after
build()
.
-
build
IndexManagerImplementor build()Build the mapping based on theschemaRootNodeBuilder()
metadata contributed} so far.May only be called once on a given object.
- Returns:
- The index manager.
-