Class SearchApplication

java.lang.Object
co.elastic.clients.elasticsearch.search_application.SearchApplication
All Implemented Interfaces:
JsonpSerializable
Direct Known Subclasses:
GetSearchApplicationResponse

@JsonpDeserializable public class SearchApplication extends Object implements JsonpSerializable
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • searchApplicationOf

    • name

      public final String name()
      Required - Search Application name.

      API name: name

    • indices

      public final List<String> indices()
      Required - Indices that are part of the Search Application.

      API name: indices

    • updatedAtMillis

      public final long updatedAtMillis()
      Required - Last time the Search Application was updated.

      API name: updated_at_millis

    • analyticsCollectionName

      @Nullable public final String analyticsCollectionName()
      Analytics collection associated to the Search Application.

      API name: analytics_collection_name

    • template

      @Nullable public final SearchApplicationTemplate template()
      Search template to use on search operations.

      API name: template

    • serialize

      public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • setupSearchApplicationDeserializer

      protected static <BuilderT extends SearchApplication.AbstractBuilder<BuilderT>> void setupSearchApplicationDeserializer(ObjectDeserializer<BuilderT> op)