Interface SolrRequestHandler

    • Method Detail

      • init

        void init​(org.apache.solr.common.util.NamedList<?> args)
        init will be called just once, immediately after creation.

        The args are user-level initialization parameters that may be specified when declaring a request handler in solrconfig.xml

      • handleRequest

        void handleRequest​(SolrQueryRequest req,
                           SolrQueryResponse rsp)
        Handles a query request, this method must be thread safe.

        Information about the request may be obtained from req and response information may be set using rsp.

        There are no mandatory actions that handleRequest must perform. An empty handleRequest implementation would fulfill all interface obligations.