public class SearcherFactory extends AbstractLogEnabled implements Component, Serviceable, Initializable
Query
.Modifier and Type | Class and Description |
---|---|
class |
SearcherFactory.Searcher
Class searching objects corresponding to a query, with optional sort, facets, and so on.
|
Modifier and Type | Field and Description |
---|---|
protected CurrentUserProvider |
_currentUserProvider
The current user provider.
|
protected GroupManager |
_groupManager
The group manager
|
protected AmetysObjectResolver |
_resolver
|
protected SolrClient |
_solrClient
The solr client
|
protected SolrClientProvider |
_solrClientProvider
The solr client provider
|
static String |
ROLE
The component role.
|
Constructor and Description |
---|
SearcherFactory() |
Modifier and Type | Method and Description |
---|---|
SearcherFactory.Searcher |
create()
Create a Searcher.
|
void |
initialize() |
void |
service(ServiceManager serviceManager) |
getLogger, setLogger
protected AmetysObjectResolver _resolver
protected SolrClientProvider _solrClientProvider
protected CurrentUserProvider _currentUserProvider
protected GroupManager _groupManager
protected SolrClient _solrClient
public SearcherFactory()
public void service(ServiceManager serviceManager) throws ServiceException
service
in interface Serviceable
ServiceException
public void initialize() throws Exception
initialize
in interface Initializable
Exception
public SearcherFactory.Searcher create()