Class SemanticSearchAction

java.lang.Object
sk.iway.iwcm.doc.SemanticSearchAction

public class SemanticSearchAction extends Object
Adapts semantic document search to the search action's result, pagination, and request attributes.
  • Method Summary

    Modifier and Type
    Method
    Description
    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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 attributes
      response - 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