[hibernate-dev] [HV/HSEARCH] Free form
Emmanuel Bernard
emmanuel at hibernate.org
Wed Feb 8 05:04:17 EST 2017
> On 7 Feb 2017, at 11:17, Gunnar Morling <gunnar at hibernate.org> wrote:
>
> Emmanuel,
>
> In your PoC, how would a complete tree-like structure be traversed?
> It's not clear to me, who is driving StructureTraverser, i.e. which
> component will call processSubstructureInContainer() et al. when
> traversing an entire tree.
The metadata you have about which entity and property is indexed will drive the traversal. In case of HV, the metadata about which entity / property is constrained will.
The metadata is a separate model because:
1. some structures like JSON have no real model
2. we still need additional information like @Field, @Valid etc as part of our metadata to drive navigation
More information about the hibernate-dev
mailing list