A search engine absraction above the actual search engine implementation.
Works with resources and properties for data, and ResourceMapping,
PropertyMapping, and ResourceIdMapping.
All the search engine operations the are needed should be provided by the
SearchEngine abstraction (save, delete, load, get, find).
The search engine abstraction also acts as a Property and Resource factory,
creating the actual implementations.
The search engine must provide supprot for transactional operations, though
in practice, it can be a non transactional search engine. If it is a non
transactional search engine, it must be documented as such.
author: kimchy See Also:org.compass.core.Resource See Also:org.compass.core.Property See Also:org.compass.core.mapping.ResourceMapping See Also:org.compass.core.mapping.ResourcePropertyMapping See Also:org.compass.core.mapping.ResourceIdMappingProvider
Commits the transaction. If onePhase is set to true,
commits the transaction by executing the two phases in the two phase
commit operation. If it is set to false, executes the
second phase of the two phase commit operation (and must be called after
prepare).
Returns a resource for the given resource that holds the properties AND
the alias, under the specified alias. Retrurns null if the resource is
not found.
Loads a resource for the given resource that holds the properties AND the
alias, under the specified alias. Throws an exception if the resource if
not found.
Rolls back the current transaction. Can be called before any phase of the
commit operation was executed, and after the first phase of the two phase
commit operation (the prepare operation).