Im planning to use Hibernate Search for fulltext search on my models and im concerened whether I can continue to use InheritanceType.SINGLE_TABLE
for my model hierachy or whether I have to manually create one big flat model. Basically I have two requieremnts:
- Being able to perform a search on all submodels of a concrete model in the hierachy
- Being able to perform a search both on common fields of basemodels and fields of the concrete submodel
Unfortunately the reference doesnt says anything about inheritance but just about embedded and associated objects.