|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Compass
Creates a CompassSession. Usually an application has a single Compass object. Threads servicing client requests obtain sessions from Compass.
Implementors must be threadsafe. CompassSessions are immutable. The behaviour of a Compass is controlled by settings supplied at configuration time through CompassConfiguration. These settings are defined on the web site. Compass also provides operations that are on a higher level than a session, like create/delete operations on index data files and manages the index optimiser lifecycle.
CompassSession,
CompassConfiguration| Method Summary | |
|---|---|
Compass |
clone(CompassSettings addedSettings)
Clones the current Compass instance. |
void |
close()
Closes Compass |
SearchEngineIndexManager |
getSearchEngineIndexManager()
Return the search engine index manager. |
SearchEngineOptimizer |
getSearchEngineOptimizer()
Retruns the search engine optimizer. |
CompassSession |
openSession()
If there is a transaction bound session, will return it. |
| Methods inherited from interface javax.naming.Referenceable |
|---|
getReference |
| Method Detail |
|---|
CompassSession openSession()
throws CompassException
CompassException
void close()
throws CompassException
CompassExceptionCompass clone(CompassSettings addedSettings)
Compass instance. The added settings will merged with the current
compass settings, and control the creation of the new Compass.
Note, that the new instance will not be registered with JNDI, as well as not start the optimizer.
addedSettings - The settings to be added.
SearchEngineOptimizer getSearchEngineOptimizer()
stop or start), you
can check if the index need optimization, and you can optimize the index.
SearchEngineIndexManager getSearchEngineIndexManager()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||