Class DirectJsonQueryRequest

  • All Implemented Interfaces:
    Serializable

    public class DirectJsonQueryRequest
    extends QueryRequest
    Represents a query using the JSON Query DSL

    This class doesn't construct the request body itself. It uses a provided String without any modification. Often used in combination with the JSON DSL's macro expansion capabilities. The JSON body can contain template parameters which are replaced with values fetched from the SolrParams used by this request. For a more flexible, guided approach to constructing JSON DSL requests, see JsonQueryRequest.

    See Also:
    Serialized Form
    • Constructor Detail

      • DirectJsonQueryRequest

        public DirectJsonQueryRequest​(String jsonString)
      • DirectJsonQueryRequest

        public DirectJsonQueryRequest​(String jsonString,
                                      SolrParams params)