Giriş
Örnek
Şöyle yaparız
@Indexed
@Entity
@Table
@Getter
@Setter
@ToString
@EqualsAndHashCode
public class Plant {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;
@FullTextField()
@NaturalId
private String name;
@FullTextField
@NaturalId
private String scientificName;
@FullTextField
private String family;
private Instant createdAt ;
}