nhibernate-search

@Transient with @Field annotated field not showing in index on elastic server

房东的猫 提交于 2019-12-11 15:08:49
问题 Using Hibernate Search 5.9 and elastic server 5.6.10. I'm trying to persist data from 3 fields into a single field with @Transient annotation. But though the fields shows up in the index structure, the same does not show up when I query the index with curl/chrome. Its not present on the index and the data is lost this way. Code: @Transient @Field(index=Index.YES, analyze=Analyze.YES, store=Store.YES) private String fullAgentNumber = ""; public String getFullAgentNumber() { return this.fillr1