public interface SearchService
QueryAgent
.
Service interface for searching within FIRSTspirit.
Use getService(SearchService.class)
to request an instance of this service.ServicesBroker.getService(Class)
Modifier and Type | Method and Description |
---|---|
List<String> |
getSuggestions(Long projectId,
String word,
Language language)
Suggest indexed words matching the given one.
|
de.espirit.firstspirit.access.search.ResultProvider |
search(Project project,
Request request)
Initiates a search on data with the given request.
|
Iterable<Task> |
searchTasks(Long projectId,
de.espirit.firstspirit.access.search.TaskQuery query)
Deprecated.
since 4.1.10 - no replacement
|
de.espirit.firstspirit.access.search.ResultProvider search(Project project, Request request)
project
- The project to search inrequest
- The request to find matches for.@NotNull List<String> getSuggestions(Long projectId, String word, Language language)
projectId
- The project id.word
- The word to look up matches for.language
- The to look up matches for.@Deprecated Iterable<Task> searchTasks(Long projectId, de.espirit.firstspirit.access.search.TaskQuery query)
projectId
- The id of the project.query
- the query object selecting the tasks to returnCopyright © 2015 e-Spirit AG. All Rights Reserved. Build 5.1.408