Update field Object using UpdateQuery

Hi, I need to create an update query to update the relation inside the index, given the relation ID:

    @Document(indexName = "employees", shards = 3)
    public class Employee {

        @GeneratedValue(generator = "UUID")
        @GenericGenerator(name = "UUID", strategy = "org.hibernate.id.UUIDGenerator")
        @Column(name = "id", updatable = false, nullable = false)
        protected UUID id;

        protected String email;

        private String address;

        @JsonIgnoreProperties(value = "employeesCategory")
        private Nomenclature category;

So, I want to update the nomenclature entity (relation) inside the given employee index nomenclature_id

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.