Package sk.iway.iwcm.doc
Class SemanticSearchAction
java.lang.Object
sk.iway.iwcm.doc.SemanticSearchAction
Adapts semantic document search to the search action's result, pagination, and request attributes.
-
Method Summary
-
Method Details
-
search
protected static String search(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) Runs semantic or hybrid document retrieval through the configured vector store. Populates search results and pagination attributes after applying spam protection and document visibility checks.- Parameters:
request- request supplying search terms and options and receiving results and status attributesresponse- current HTTP response, retained for compatibility with the search action signature- Returns:
"success"for handled searches, including empty or rejected requests, or"error"on failure
-