Package org.exoplatform.wiki.jpa.search
Class WikiElasticSearchServiceConnector
java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
io.meeds.notes.legacy.api.search.SearchServiceConnector
io.meeds.notes.legacy.search.es.ElasticSearchServiceConnector
org.exoplatform.wiki.jpa.search.WikiElasticSearchServiceConnector
- All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin
-
Field Summary
FieldsFields inherited from class io.meeds.notes.legacy.search.es.ElasticSearchServiceConnector
GROUP, HIGHLIGHT_FRAGMENT_NUMBER_DEFAULT_VALUE, HIGHLIGHT_FRAGMENT_NUMBER_PARAM_NAME, HIGHLIGHT_FRAGMENT_SIZE_DEFAULT_VALUE, HIGHLIGHT_FRAGMENT_SIZE_PARAM_NAME, WIKI_TYPEFields inherited from class org.exoplatform.container.component.BaseComponentPlugin
desc, name -
Constructor Summary
ConstructorsConstructorDescriptionWikiElasticSearchServiceConnector(org.exoplatform.container.configuration.ConfigurationManager configurationManager, org.exoplatform.container.xml.InitParams initParams, org.exoplatform.commons.search.es.client.ElasticSearchingClient client, org.exoplatform.social.core.manager.IdentityManager identityManager, org.exoplatform.social.core.space.spi.SpaceService spaceService) -
Method Summary
Modifier and TypeMethodDescriptionprotected List<SearchResult> buildWikiResult(String jsonResponse) protected List<SearchResult> filteredWikiSearch(String query, WikiSearchData wikiSearchData) protected StringgetUserSpaceIds(String userId, String wikiOwner) searchWiki(String searchedText, WikiSearchData wikiSearchData) voidsetSearchQuery(String searchQuery) Methods inherited from class io.meeds.notes.legacy.search.es.ElasticSearchServiceConnector
buildDetail, buildFilteredQuery, buildHit, buildQuery, buildResult, builQueryWithEntityId, escapeReservedCharacters, filteredSearch, getAdditionalFilters, getClient, getFields, getImg, getIndex, getMetadataQuery, getPermissionFilter, getPermissionFilterWiki, getSearchFields, getSitesFilter, getTitleElasticFieldName, getTitleFromJsonResult, getUpdatedDateFromResult, getUrlFromJsonResult, getUserMemberships, isIndexed, search, searchByEntityId, setImg, setIndex, setSearchFields, setTitleElasticFieldNameMethods inherited from class io.meeds.notes.legacy.api.search.SearchServiceConnector
getDisplayName, getSearchType, isEnable, isEnabledForAnonymous, setDisplayName, setEnable, setEnabledForAnonymous, setSearchTypeMethods inherited from class org.exoplatform.container.component.BaseComponentPlugin
getDescription, getName, setDescription, setName
-
Field Details
-
SEARCH_QUERY_TERM
- See Also:
-
SEARCH_QUERY_TERM_FOR_NOTES_APPLICATION
- See Also:
-
WILDCARD_QUERY
- See Also:
-
-
Constructor Details
-
WikiElasticSearchServiceConnector
public WikiElasticSearchServiceConnector(org.exoplatform.container.configuration.ConfigurationManager configurationManager, org.exoplatform.container.xml.InitParams initParams, org.exoplatform.commons.search.es.client.ElasticSearchingClient client, org.exoplatform.social.core.manager.IdentityManager identityManager, org.exoplatform.social.core.space.spi.SpaceService spaceService)
-
-
Method Details
-
getSourceFields
- Overrides:
getSourceFieldsin classElasticSearchServiceConnector
-
searchWiki
-
filteredWikiSearch
-
buildWikiResult
-
getUserSpaceIds
-
setSearchQuery
-