public class PageESListenerImpl
extends org.exoplatform.services.listener.Listener<org.exoplatform.portal.mop.page.PageService,org.exoplatform.portal.mop.page.PageKey>
| Constructor and Description |
|---|
PageESListenerImpl(org.exoplatform.commons.search.es.client.ElasticSearchingClient client,
org.exoplatform.commons.search.index.IndexingService indexingService) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
buildFilteredQuery(String query,
Collection<String> sites) |
protected List<String> |
buildResult(String jsonResponse) |
protected String |
escapeReservedCharacters(String query) |
protected String |
getSitesFilter(Collection<String> sitesCollection) |
void |
onEvent(org.exoplatform.services.listener.Event<org.exoplatform.portal.mop.page.PageService,org.exoplatform.portal.mop.page.PageKey> event) |
List<String> |
search(org.exoplatform.portal.mop.page.PageKey pageKey) |
public PageESListenerImpl(org.exoplatform.commons.search.es.client.ElasticSearchingClient client,
org.exoplatform.commons.search.index.IndexingService indexingService)
public void onEvent(org.exoplatform.services.listener.Event<org.exoplatform.portal.mop.page.PageService,org.exoplatform.portal.mop.page.PageKey> event)
throws Exception
onEvent in class org.exoplatform.services.listener.Listener<org.exoplatform.portal.mop.page.PageService,org.exoplatform.portal.mop.page.PageKey>Exceptionprotected String buildFilteredQuery(String query, Collection<String> sites)
protected String getSitesFilter(Collection<String> sitesCollection)
Copyright © 2003–2020 eXo Platform SAS. All rights reserved.