|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IPTSAdmin
Contains helper methods used by search-related administrative tasks in the Plumtree Corporate Portal.
Method Summary | |
---|---|
IPTSearchBestBetMaintenance |
createBestBetMaintenance()
Factory method that creates an IPTSearchBestBetMaintenance object. |
int |
getCardCount(boolean bFulltextOnly)
Runs a special-purpose search query that returns the number of cards (documents) indexed. |
java.lang.String |
getLastSearchTransactionIDAsString()
Give back a String representaion of a last search index request made within this application. |
int[] |
getSearchableObjectIDsInRange(int lClassID,
int nLowerBound,
boolean bLowerBoundExclusive,
int nHigherBound,
boolean bHigherBoundExclusive,
boolean bOnlyApplyLowerBound)
Runs a special-purpose query used by Search Repair to check for discrepancies between the database and search index. |
com.plumtree.openfoundation.util.IXPPropertyBag |
retrieveClusterStatus()
Returns current status of the search cluster, including transation and partition information |
com.plumtree.openfoundation.util.IXPPropertyBag |
retrieveStatus()
Returns current status of the search server(s), including connection information and number of indexed documents. |
java.lang.String |
waitForDocsToBecomeSearchable(int timeout)
Wait until all the index requests initiated by the client have been processed by the search server. |
Method Detail |
---|
com.plumtree.openfoundation.util.IXPPropertyBag retrieveStatus()
com.plumtree.openfoundation.util.IXPPropertyBag retrieveClusterStatus()
java.lang.String waitForDocsToBecomeSearchable(int timeout)
timeout
- - amout of time to wait for everything to be processed
PTException
- if the timeout occursjava.lang.String getLastSearchTransactionIDAsString()
int getCardCount(boolean bFulltextOnly) throws PTSInvalidSearchException, PTSSearchServerConnectionException
bFulltextOnly
- if true, count only cards with their full text indexed.
PTSSearchServerConnectionException
- if the Plumtree Search Service is unavailable
PTSInvalidSearchException
- in case of an internal errorint[] getSearchableObjectIDsInRange(int lClassID, int nLowerBound, boolean bLowerBoundExclusive, int nHigherBound, boolean bHigherBoundExclusive, boolean bOnlyApplyLowerBound) throws PTSInvalidSearchException, PTSSearchServerConnectionException, PTSSyntaxException
lClassID
- object type (PT_CLASSID) to constrain the querynLowerBound
- lower limit of the object ID rangebLowerBoundExclusive
- whether the lower bound is included in the rangenHigherBound
- upper limit of the object ID rangebHigherBoundExclusive
- whether the upper bound is included in the rangebOnlyApplyLowerBound
- if true, ignore nHigherBound
PTSSearchServerConnectionException
- if the Plumtree Search Service is unavailable
PTSInvalidSearchException
- in case of an internal error
PTSSyntaxException
- in case of an internal errorIPTSearchBestBetMaintenance createBestBetMaintenance()
IPTSearchBestBetMaintenance
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |