mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Fix bug in SearchService API refactor
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14366 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -64,6 +64,15 @@ public class SearcherComponent extends AbstractSearcherComponent
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
public ResultSet query(StoreRef store,
|
||||
String language,
|
||||
String query,
|
||||
QueryParameterDefinition[] queryParameterDefinitions)
|
||||
{
|
||||
SearchService searcher = indexerAndSearcherFactory.getSearcher(store, true);
|
||||
return searcher.query(store, language, query, queryParameterDefinitions);
|
||||
}
|
||||
|
||||
public ResultSet query(SearchParameters searchParameters)
|
||||
{
|
||||
if(searchParameters.getStores().size() != 1)
|
||||
|
Reference in New Issue
Block a user