Module | Services | Data types | Constants |
---|---|---|---|
results |
ResultsServerService
|
services.Service
void
registerSearchResult(search.SearchResult
result,services.AnnotationTaskType
taskType) throwsservices.ServicesException
Register the specified search result for annotation. If a name has not been assigned to the search query, one will be generated. This service also requires that the user_id field be populated in the SearchQuery.
list<
getSearchResults(search.SearchResult
>services.AnnotationTaskType
taskType,i32
limit) throwsservices.ServicesException
Get a list of search results for a particular annotation task Set the limit to 0 to get all relevant search results
list<
getSearchResultsByUser(search.SearchResult
>services.AnnotationTaskType
taskType,string
userId,i32
limit) throwsservices.ServicesException
Get a list of search results for a particular annotation task filtered by a user id Set the limit to 0 to get all relevant search results
search.SearchResult
getLatestSearchResult(string
userId) throwsservices.ServicesException
Get the most recent search results for a user
search.SearchResult
getSearchResult(uuid.UUID
searchResultId) throwsservices.ServicesException
Get a search result object
uuid.UUID
startSession(uuid.UUID
searchResultId,services.AnnotationTaskType
taskType) throwsservices.ServicesException
Start an annotation session Returns a session id used in future session calls
void
stopSession(uuid.UUID
sessionId) throwsservices.ServicesException
Stops an annotation session
list<
getNextChunk(services.AnnotationUnitIdentifier
>uuid.UUID
sessionId) throwsservices.ServicesException
Get next chunk of data to annotate The client should use the Retriever service to access the data
void
submitAnnotation(uuid.UUID
sessionId,services.AnnotationUnitIdentifier
unitId,communication.Communication
communication) throwsservices.ServicesException
Submit an annotation for a session