both also used for annotating "foreign key" in jpa entity right? I do understand @searchablecomponent
,
let say we have category and subcategory. search subcategory will return category in this case of @searchablecomponent
. what about @searchablereference
? i cannot understand this one? for case of @searchablereference
, will searching for subcategory still return category ?
ref: http://www.opensymphony.com/compass/versions/0.9.0/html/core-osem-annotations.html