public class WikiSearchServiceConnector extends SearchServiceConnector
| Modifier and Type | Field and Description | 
|---|---|
| static String | DATE_TIME_FORMATDate and time format used in the unified search. | 
| static String | WIKI_PAGE_ICONURL pointing to the icon representing the wiki pages in the unified search results. | 
| Constructor and Description | 
|---|
| WikiSearchServiceConnector(org.exoplatform.container.xml.InitParams initParams)Initializes the Wiki search service. | 
| Modifier and Type | Method and Description | 
|---|---|
| Collection<org.exoplatform.commons.api.search.data.SearchResult> | search(org.exoplatform.commons.api.search.data.SearchContext context,
      String query,
      Collection<String> sites,
      int offset,
      int limit,
      String sort,
      String order)Implements the search method by given criteria. | 
getDisplayName, getSearchType, setDisplayName, setSearchTypepublic static final String WIKI_PAGE_ICON
public static String DATE_TIME_FORMAT
public WikiSearchServiceConnector(org.exoplatform.container.xml.InitParams initParams)
initParams - The params object which is used for initializing the Wiki search service.public Collection<org.exoplatform.commons.api.search.data.SearchResult> search(org.exoplatform.commons.api.search.data.SearchContext context, String query, Collection<String> sites, int offset, int limit, String sort, String order)
search in class SearchServiceConnectorcontext - The search context.query - The query statement.sites - Specified sites where the search is performed (for example Acme, or Intranet).offset - The start point from which the search results are returned.limit - The limitation number of search results.sort - The sorting criteria (title, relevancy and date).order - The sorting order (ascending and descending).Copyright © 2003-2017 eXo Platform SAS. All Rights Reserved.