|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IWSSearchDocument
Web Service for searching for or through documents.
| Method Summary | |
|---|---|
WSTSearchDocumentResultList |
createBlockingPlainSearch(String token,
String searchString,
ArrayList<String> sources,
int minResults,
int timeout)
Deprecated. use createBlockingSearch(String, String, ArrayList, int, int, String, boolean, ArrayList, ArrayList, WSTMap) |
WSTSearchDocumentResultList |
createBlockingSearch(String token,
String searchString,
ArrayList<String> sources,
int minResults,
int timeout,
String sortBy,
boolean invert,
ArrayList<String> related,
ArrayList<String> range,
WSTMap options)
Creates a document search using the given search string and wait until minResults results have been found. |
String |
createDocumentFromSearchFreeDocumentResult(String token,
String searchResultID)
Method that copies a free external document after the user checks it out, and returns the document id. |
String |
createDocumentFromSearchFreeDocumentResultJob(String token,
String searchResultID)
Method that queues the process of copying a free external document after the user checks it out, and returns the job id. |
String |
createPlainSearch(String token,
String searchString,
ArrayList<String> sources)
Deprecated. use createBlockingSearch(String, String, ArrayList, int, int, String, boolean, ArrayList, ArrayList, WSTMap) |
WSTSearchDocumentResultList |
getResults(String token,
int offset,
int numberOfResults)
Deprecated. use getResultsBySearchID(String, String, int, int) |
WSTSearchDocumentResultList |
getResultsBySearchID(String token,
String searchID,
int offset,
int numberOfResults)
Checks for document search results. |
WSTSearchDocumentResultList |
getResultsBySearchIDResorted(String token,
String searchID,
int offset,
int numberOfResults,
String sortBy,
boolean invert)
Checks for document search results. |
| Method Detail |
|---|
@Deprecated
String createPlainSearch(String token,
String searchString,
ArrayList<String> sources)
throws WSException
createBlockingSearch(String, String, ArrayList, int, int, String, boolean, ArrayList, ArrayList, WSTMap)
token - a session ID or nature name e.g txtr.de / txtr.hu / etc.searchString - a search string, according to http://lucene.apache.org/java/2_3_2/queryparsersyntax.html, see sources - see WSTDocumentSearchSource
WSException - if an error occurs
@Deprecated
WSTSearchDocumentResultList createBlockingPlainSearch(String token,
String searchString,
ArrayList<String> sources,
int minResults,
int timeout)
throws WSException
createBlockingSearch(String, String, ArrayList, int, int, String, boolean, ArrayList, ArrayList, WSTMap)
getResults(String, int, int).
token - a session ID or nature name e.g txtr.de / txtr.hu / etc.searchString - a search string, according to http://lucene.apache.org/java/2_3_2/queryparsersyntax.html, see sources - see WSTDocumentSearchSourceminResults - number of results to wait for before returningtimeout - timeout in milliseconds
WSException - if an error occurs
WSTSearchDocumentResultList createBlockingSearch(String token,
String searchString,
@Nullable
ArrayList<String> sources,
int minResults,
int timeout,
@Nullable
String sortBy,
boolean invert,
@Nullable
ArrayList<String> related,
@Nullable
ArrayList<String> range,
@Nullable
WSTMap options)
throws WSException
getResults(String, int, int).
token - a session ID or nature name e.g txtr.de / txtr.hu / etc.searchString - a search string, according to http://lucene.apache.org/java/2_3_2/queryparsersyntax.html, see sources - see WSTDocumentSearchSourceminResults - number of results to wait for before returningtimeout - timeout in millisecondssortBy - the results returned in the result list are sorted according to a search field. Also see
getResultsBySearchID(String, String, int, int). If null is given, the default "relevance" is used for sorting.invert - if the sort order should be invertedrelated - return related objects for these search fields, use null or an empty list if you want no related resultsrange - return the ranges of these search fields, use null or an empty list if you want no rangesoptions - see WSTDocumentSearchOption
WSException - if an error occurs
@Deprecated
WSTSearchDocumentResultList getResults(String token,
int offset,
int numberOfResults)
throws WSException
getResultsBySearchID(String, String, int, int)
token - the token or nature name e.g txtr.de / txtr.hu / etc.offset - the first result to be returnednumberOfResults - maximum number of results to be returned.
WSException - if an error occurs
WSTSearchDocumentResultList getResultsBySearchID(String token,
String searchID,
int offset,
int numberOfResults)
throws WSException
token - the token or nature name e.g txtr.de / txtr.hu / etc.searchID - the ID of the created search, must not be nulloffset - the first result to be returnednumberOfResults - maximum number of results to be returned.
WSException - if an error occurs
WSTSearchDocumentResultList getResultsBySearchIDResorted(String token,
String searchID,
int offset,
int numberOfResults,
String sortBy,
boolean invert)
throws WSException
token - the token or nature name e.g txtr.de / txtr.hu / etc.searchID - the ID of the created search, must not be nulloffset - the first result to be returnednumberOfResults - maximum number of results to be returned.sortBy - sort by this search field. Use null to use the same sorting as beforeinvert - if the sort order should be inverted
WSException - if an error occurs
String createDocumentFromSearchFreeDocumentResult(String token,
String searchResultID)
throws WSException
token - The user tokensearchResultID - The search result ID returned by the blocking search.
WSException - if an error occurs
String createDocumentFromSearchFreeDocumentResultJob(String token,
String searchResultID)
throws WSException
IWSJobMgmt.getJob(String, String) to
check the status of the job.
token - The user tokensearchResultID - The search result ID returned by the blocking search.
IWSJobMgmt.getJob(String, String)
WSException - if an error occurs
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||