I am indexing a class whose superclass has the following annotations:
@Indexed @Entity @Inheritance(strategy = InheritanceType.JOINED)
The same @Inheritance annotation is on the subclass. The annotations of the superclass are all on methods. The field I want indexed on the superclass is ignored:
@Field(index=Index.UN_TOKENIZED,store=Store.YES)
@FieldBridge(impl=org.hibernate.search.bridge.builtin.BooleanBridge.class)
@Type(type="yes_no")
public boolean isFlagged() {
return flagged;
}
The superclass only has the flagged property and the ID. The ID shows up fine, because it has the @Id annotation, but I'm not sure why flagged is not indexed. I found this post but it doesn't give a clear answer. What could I be doing wrong?