Class MultiSearchTemplateRequest

    • Constructor Detail

      • MultiSearchTemplateRequest

        public MultiSearchTemplateRequest()
      • MultiSearchTemplateRequest

        public MultiSearchTemplateRequest​(StreamInput in)
                                   throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • maxConcurrentSearchRequests

        public int maxConcurrentSearchRequests()
        Returns the amount of search requests specified in this multi search requests are allowed to be ran concurrently.
      • maxConcurrentSearchRequests

        public MultiSearchTemplateRequest maxConcurrentSearchRequests​(int maxConcurrentSearchRequests)
        Sets how many search requests specified in this multi search requests are allowed to be ran concurrently.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • writeMultiLineFormat

        public static byte[] writeMultiLineFormat​(MultiSearchTemplateRequest multiSearchTemplateRequest,
                                                  XContent xContent)
                                           throws java.io.IOException
        Throws:
        java.io.IOException