Hibernate Search 5.3+ requires @Facet annotation; our application makes use of field dot notation (eg facetingRequest.onField("field.childField.grandchildField")
.
Do I annotate @Facet on the leaf field (grandchild); the first field (child) or every field in the dot notation chain?
You would annotate the actual leave node. Have you actually just tried or why do you ask the question.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.