com.liferay.portal.kernel.search
Class HitsOpenSearchImpl
java.lang.Object
com.liferay.portal.kernel.search.BaseOpenSearchImpl
com.liferay.portal.kernel.search.HitsOpenSearchImpl
- All Implemented Interfaces:
- OpenSearch
public abstract class HitsOpenSearchImpl
- extends BaseOpenSearchImpl
|
Method Summary |
Indexer<?> |
getIndexer()
|
abstract String |
getSearchPath()
|
Summary |
getSummary(Indexer<?> indexer,
Document document,
Locale locale,
String snippet)
|
abstract String |
getTitle(String keywords)
|
protected String |
getURL(ThemeDisplay themeDisplay,
long groupId,
Document result,
PortletURL portletURL)
|
String |
search(javax.servlet.http.HttpServletRequest request,
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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HitsOpenSearchImpl
public HitsOpenSearchImpl()
getIndexer
public Indexer<?> getIndexer()
getSearchPath
public abstract String getSearchPath()
getSummary
public Summary getSummary(Indexer<?> indexer,
Document document,
Locale locale,
String snippet)
throws SearchException
- Throws:
SearchException
getTitle
public abstract String getTitle(String keywords)
search
public String search(javax.servlet.http.HttpServletRequest request,
long groupId,
long userId,
String keywords,
int startPage,
int itemsPerPage,
String format)
throws SearchException
- Specified by:
search in interface OpenSearch- Specified by:
search in class BaseOpenSearchImpl
- Throws:
SearchException
getURL
protected String getURL(ThemeDisplay themeDisplay,
long groupId,
Document result,
PortletURL portletURL)
throws Exception
- Throws:
Exception