Class SolrSearchServlet

java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
fr.paris.lutece.plugins.search.solr.web.SolrSearchServlet
All Implemented Interfaces:
jakarta.servlet.Servlet, jakarta.servlet.ServletConfig, Serializable

@WebServlet(name="SolrSearchServlet", urlPatterns="/servlet/plugins/SolrSearchServlet") public class SolrSearchServlet extends jakarta.servlet.http.HttpServlet
SolrIndexerJspBean
See Also:
  • Field Summary

    Fields inherited from class jakarta.servlet.http.HttpServlet

    LEGACY_DO_HEAD
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    doGet(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp)
     
    void
    doPost(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp)
     
    getJsonSearchResults(jakarta.servlet.http.HttpServletRequest request)
    Returns search results
    searchSolr(jakarta.servlet.http.HttpServletRequest request)
    Returns search results

    Methods inherited from class jakarta.servlet.http.HttpServlet

    init, service

    Methods inherited from class jakarta.servlet.GenericServlet

    destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SolrSearchServlet

      public SolrSearchServlet()
  • Method Details

    • searchSolr

      public String searchSolr(jakarta.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.message.SiteMessageException
      Returns search results
      Parameters:
      request - the http request
      Returns:
      Returns search results
      Throws:
      fr.paris.lutece.portal.service.message.SiteMessageException
    • getJsonSearchResults

      public String getJsonSearchResults(jakarta.servlet.http.HttpServletRequest request) throws fr.paris.lutece.portal.service.message.SiteMessageException
      Returns search results
      Parameters:
      request - the http request
      Returns:
      Returns search results
      Throws:
      fr.paris.lutece.portal.service.message.SiteMessageException
    • doGet

      public void doGet(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp) throws jakarta.servlet.ServletException, IOException
      Throws:
      jakarta.servlet.ServletException
      IOException
    • doPost

      public void doPost(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp) throws jakarta.servlet.ServletException, IOException
      Throws:
      jakarta.servlet.ServletException
      IOException