Marko Bekhta (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *created* an issue
Hibernate Search (
https://hibernate.atlassian.net/browse/HSEARCH?atlOrigin=eyJpIjoiNmI2M2Ix...
) / Improvement (
https://hibernate.atlassian.net/browse/HSEARCH-4822?atlOrigin=eyJpIjoiNmI...
) HSEARCH-4822 (
https://hibernate.atlassian.net/browse/HSEARCH-4822?atlOrigin=eyJpIjoiNmI...
) Extend @FullTextField with `highlightable` configuration (
https://hibernate.atlassian.net/browse/HSEARCH-4822?atlOrigin=eyJpIjoiNmI...
)
Issue Type: Improvement Assignee: Marko Bekhta (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) Components: backend-elasticsearch, backend-lucene, mapper-pojo-base Created: 22/Mar/2023
01:42 AM Fix Versions: 6.2-backlog Priority: Major Reporter: Marko Bekhta (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
)
Add new highlightable property to @FullTextField that would allow user to specify which
highlighters can be applied to a field. highlightable can accept multiple values so that a
combination of multiple highlighter types can be supplied.
public enum Highlightable {
NO, // we don't apply or check for anything additional, and at the same time we
don't allow highlighting to be called on this field
ANY, // we make sure that any of the highlighter types can be applied
PLAIN, // for the Lucene backend - make sure that the field is stored
UNIFIED, // for the Lucene backend - make sure that the field is stored
FVH // check that we set the correct term vector value, for the Lucene backend - make
sure that field is stored
}
see discussion starting with this comment -
https://github.com/hibernate/hibernate-search/pull/3418#issuecomment-1478... (
https://github.com/hibernate/hibernate-search/pull/3418#issuecomment-1478... )
(
https://hibernate.atlassian.net/browse/HSEARCH-4822#add-comment?atlOrigin...
) Add Comment (
https://hibernate.atlassian.net/browse/HSEARCH-4822#add-comment?atlOrigin...
)
Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=Em...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100219- sha1:eb3f1fe )