Class SearchInput

  • All Implemented Interfaces:
    org.elasticsearch.common.xcontent.ToXContent, org.elasticsearch.common.xcontent.ToXContentObject

    public class SearchInput
    extends AbstractSearchInput
    • Constructor Detail

      • SearchInput

        public SearchInput​(String name,
                           String target,
                           List<String> indices,
                           String body,
                           org.elasticsearch.action.search.SearchType searchType,
                           org.elasticsearch.action.support.IndicesOptions indicesOptions)
    • Method Detail

      • toXContent

        public org.elasticsearch.common.xcontent.XContentBuilder toXContent​(org.elasticsearch.common.xcontent.XContentBuilder builder,
                                                                            org.elasticsearch.common.xcontent.ToXContent.Params params)
                                                                     throws IOException
        Throws:
        IOException
      • getSearchType

        public org.elasticsearch.action.search.SearchType getSearchType()
      • setSearchType

        public void setSearchType​(org.elasticsearch.action.search.SearchType searchType)
      • getBody

        public String getBody()