public abstract class HitsOpenSearchImpl extends BaseOpenSearchImpl
Constructor and Description |
---|
HitsOpenSearchImpl() |
Modifier and Type | Method and Description |
---|---|
Indexer<?> |
getIndexer() |
abstract java.lang.String |
getSearchPath() |
Summary |
getSummary(Indexer<?> indexer,
Document document,
java.util.Locale locale,
java.lang.String snippet) |
abstract java.lang.String |
getTitle(java.lang.String keywords) |
protected java.lang.String |
getURL(ThemeDisplay themeDisplay,
long groupId,
Document result,
javax.portlet.PortletURL portletURL) |
java.lang.String |
search(javax.servlet.http.HttpServletRequest request,
long groupId,
long userId,
java.lang.String keywords,
int startPage,
int itemsPerPage,
java.lang.String format) |
addSearchResult, addSearchResult, addSearchResultAtom, addSearchResultRSS, addSearchResults, addSearchResultsAtom, addSearchResultsRSS, getClassName, getOpenSearchDescriptionURL, getOpenSearchURL, getPlid, getPortletURL, getPortletURL, getPortletURL, isEnabled, search, search
public Indexer<?> getIndexer()
public abstract java.lang.String getSearchPath()
public Summary getSummary(Indexer<?> indexer, Document document, java.util.Locale locale, java.lang.String snippet) throws SearchException
SearchException
public abstract java.lang.String getTitle(java.lang.String keywords)
public java.lang.String search(javax.servlet.http.HttpServletRequest request, long groupId, long userId, java.lang.String keywords, int startPage, int itemsPerPage, java.lang.String format) throws SearchException
search
in interface OpenSearch
search
in class BaseOpenSearchImpl
SearchException
protected java.lang.String getURL(ThemeDisplay themeDisplay, long groupId, Document result, javax.portlet.PortletURL portletURL) throws java.lang.Exception
java.lang.Exception