Package com.liferay.portal.kernel.search
Class HitsOpenSearchImpl
Object
com.liferay.portal.kernel.search.BaseOpenSearchImpl
com.liferay.portal.kernel.search.HitsOpenSearchImpl
- All Implemented Interfaces:
OpenSearch
- Author:
- Charles May, Brian Wing Shun Chan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionIndexer<?>
abstract String
getSummary
(Indexer<?> indexer, Document document, Locale locale, String snippet) abstract String
protected String
getURL
(ThemeDisplay themeDisplay, long groupId, Document result, PortletURL portletURL) search
(javax.servlet.http.HttpServletRequest httpServletRequest, long groupId, long userId, String keywords, int startPage, int itemsPerPage, String format) Methods inherited from class com.liferay.portal.kernel.search.BaseOpenSearchImpl
addSearchResult, addSearchResult, addSearchResultAtom, addSearchResultRSS, addSearchResults, addSearchResultsAtom, addSearchResultsRSS, getClassName, getOpenSearchDescriptionURL, getOpenSearchURL, getPlid, getPortletURL, getPortletURL, getPortletURL, isEnabled, search, search
-
Constructor Details
-
HitsOpenSearchImpl
public HitsOpenSearchImpl()
-
-
Method Details
-
getIndexer
-
getSearchPath
-
getSummary
public Summary getSummary(Indexer<?> indexer, Document document, Locale locale, String snippet) throws SearchException - Throws:
SearchException
-
getTitle
-
search
public String search(javax.servlet.http.HttpServletRequest httpServletRequest, long groupId, long userId, String keywords, int startPage, int itemsPerPage, String format) throws SearchException - Specified by:
search
in interfaceOpenSearch
- Specified by:
search
in classBaseOpenSearchImpl
- Throws:
SearchException
-
getURL
protected String getURL(ThemeDisplay themeDisplay, long groupId, Document result, PortletURL portletURL) throws Exception - Throws:
Exception
-