public class NewsSearchConnector
extends org.exoplatform.services.wcm.search.connector.DocumentSearchServiceConnector
excluded_nodetypes| Constructor and Description |
|---|
NewsSearchConnector(org.exoplatform.container.xml.InitParams initParams) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
addFuzzySyntaxAndOR(String text) |
protected org.exoplatform.services.wcm.search.QueryCriteria |
createQueryCriteria(String query,
long offset,
long limit,
String sort,
String order) |
protected String[] |
getNodeTypes() |
List<org.exoplatform.services.wcm.search.ResultNode> |
search(org.exoplatform.commons.api.search.data.SearchContext context,
String query,
int offset,
int limit,
String sort,
String order) |
org.exoplatform.services.wcm.search.base.AbstractPageList<org.exoplatform.services.wcm.search.ResultNode> |
searchNodes(org.exoplatform.services.wcm.search.QueryCriteria criteria,
org.exoplatform.commons.api.search.data.SearchContext context) |
filterNode, getPath, getPreviewUrl, getSearchedDocTypesgetDetails, getFileType, getImageUrl, getTitleResultconvertResult, fileSize, formatDate, getDate, getDriveTitle, removeAccents, searchgetDisplayName, getSearchType, isEnable, isEnabledForAnonymous, setDisplayName, setEnable, setEnabledForAnonymous, setSearchTypepublic List<org.exoplatform.services.wcm.search.ResultNode> search(org.exoplatform.commons.api.search.data.SearchContext context, String query, int offset, int limit, String sort, String order)
protected org.exoplatform.services.wcm.search.QueryCriteria createQueryCriteria(String query, long offset, long limit, String sort, String order)
createQueryCriteria in class org.exoplatform.services.wcm.search.connector.BaseContentSearchServiceConnectorprotected String[] getNodeTypes()
getNodeTypes in class org.exoplatform.services.wcm.search.connector.DocumentSearchServiceConnectorpublic org.exoplatform.services.wcm.search.base.AbstractPageList<org.exoplatform.services.wcm.search.ResultNode> searchNodes(org.exoplatform.services.wcm.search.QueryCriteria criteria,
org.exoplatform.commons.api.search.data.SearchContext context)
throws Exception
searchNodes in class org.exoplatform.services.wcm.search.connector.BaseContentSearchServiceConnectorExceptionCopyright © 2003–2019 eXo Platform SAS. All rights reserved.