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