Class GenericV2SolrRequest

    • Constructor Detail

      • GenericV2SolrRequest

        public GenericV2SolrRequest​(SolrRequest.METHOD m,
                                    String path)
        Parameters:
        m - the HTTP method to use for this request
        path - the HTTP path to use for this request. Path may include the v2 API root path (i.e. "/api"), but does not need to. If users are making a collection-aware request (i.e. GenericSolrRequest.setRequiresCollection(boolean) is called with 'true'), only the section of the API path following the collection or core should be provided here.
      • GenericV2SolrRequest

        public GenericV2SolrRequest​(SolrRequest.METHOD m,
                                    String path,
                                    SolrParams params)
        Parameters:
        m - the HTTP method to use for this request
        path - the HTTP path to use for this request. If users are making a collection-aware request (i.e. GenericSolrRequest.setRequiresCollection(boolean) is called with 'true'), only the section of the API path following the collection or core should be provided here.
        params - query parameter names and values for making this request.