Class GenericSolrRequest

java.lang.Object
org.apache.solr.client.solrj.SolrRequest<SimpleSolrResponse>
org.apache.solr.client.solrj.request.GenericSolrRequest
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
GenericV2SolrRequest

public class GenericSolrRequest extends SolrRequest<SimpleSolrResponse>
See Also:
  • Field Details

  • Constructor Details

    • GenericSolrRequest

      public GenericSolrRequest(SolrRequest.METHOD m, String path)
      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. setRequiresCollection(boolean) is called with 'true'), only the section of the API path following the collection or core should be provided here.
    • GenericSolrRequest

      public GenericSolrRequest(SolrRequest.METHOD m, String path, SolrRequest.SolrRequestType requestType)
      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. setRequiresCollection(boolean) is called with 'true'), only the section of the API path following the collection or core should be provided here.
      requestType - the type of this request
    • GenericSolrRequest

      public GenericSolrRequest(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. 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.
    • GenericSolrRequest

      public GenericSolrRequest(SolrRequest.METHOD m, String path, SolrRequest.SolrRequestType requestType, 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. setRequiresCollection(boolean) is called with 'true'), only the section of the API path following the collection or core should be provided here.
      requestType - the type of this request
      params - query parameter names and values for making this request.
  • Method Details