mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Reversed out revisions 14366, 14361 and 14356
- Just prior to this, created dev branch DEV/ANDY_HEAD_ROLLBACKS - Andy: Switch to this branch on your local copy if you have changes to any of the files modified here git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14374 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -58,21 +58,22 @@ public class SearcherComponent extends AbstractSearcherComponent
|
||||
this.indexerAndSearcherFactory = indexerAndSearcherFactory;
|
||||
}
|
||||
|
||||
public ResultSet query(StoreRef store,
|
||||
String language,
|
||||
String query,
|
||||
Path[] queryOptions,
|
||||
QueryParameterDefinition[] queryParameterDefinitions)
|
||||
{
|
||||
SearchService searcher = indexerAndSearcherFactory.getSearcher(store, true);
|
||||
return searcher.query(store, language, query, queryOptions, queryParameterDefinitions);
|
||||
}
|
||||
|
||||
public ResultSet query(StoreRef store, QName queryId, QueryParameter[] queryParameters)
|
||||
{
|
||||
// TODO Auto-generated method stub
|
||||
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