Annotation Type DocStore

    • Element Detail

      • queueId

        String queueId
        A unique Id used when queuing reindex events.
        Default:
        ""
      • indexName

        String indexName
        The ElasticSearch index name. If left unspecified the short name of the bean type is used.
        Default:
        ""
      • indexType

        String indexType
        The ElasticSearch index type. If left unspecified the short name of the bean type is used.
        Default:
        ""
      • enableAll

        boolean enableAll
        Set to false to disable the "_all" index.
        Default:
        true
      • shards

        int shards
        The number of shards this index should use.
        Default:
        0
      • replicas

        int replicas
        The number of replicas this index should use.
        Default:
        0
      • mapping

        DocMapping[] mapping
        Additional mapping that can be defined on the properties.
        Default:
        {}
      • persist

        DocStoreMode persist
        Specify the behavior when bean Insert, Update, Delete events occur.
        Default:
        io.ebean.annotation.DocStoreMode.DEFAULT
      • insert

        DocStoreMode insert
        Specify the behavior when bean Insert occurs.
        Default:
        io.ebean.annotation.DocStoreMode.DEFAULT
      • update

        DocStoreMode update
        Specify the behavior when bean Update occurs.
        Default:
        io.ebean.annotation.DocStoreMode.DEFAULT
      • delete

        DocStoreMode delete
        Specify the behavior when bean Delete occurs.
        Default:
        io.ebean.annotation.DocStoreMode.DEFAULT
      • doc

        String doc
        Specify to include only some properties in the doc store document.

        If this is left as default then all scalar properties are included, all @ManyToOne properties are included with just the nested id property and no @OneToMany properties are included.

        Note that typically DocStoreEmbedded is used on @ManyToOne and @OneToMany properties to indicate what part of the nested document should be included.

        Example:

        {@code
        
         // only include the customer id and name
        Default:
        ""