@Indices({
@Index(value = "joinDate", type = IndexType.NonUnique),
@Index(value = "address", type = IndexType.Fulltext)
})
public class Employee implements Serializable {
@Id private long empId;
private Date joinDate;
private String address;
}