Marko Bekhta (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *created* an issue
Hibernate Search (
https://hibernate.atlassian.net/browse/HSEARCH?atlOrigin=eyJpIjoiY2U3NmJl...
) / Task (
https://hibernate.atlassian.net/browse/HSEARCH-4815?atlOrigin=eyJpIjoiY2U...
) HSEARCH-4815 (
https://hibernate.atlassian.net/browse/HSEARCH-4815?atlOrigin=eyJpIjoiY2U...
) Provide a user with a meaningful error when Fast Vector Highlighter is used on a field
without term vectors (
https://hibernate.atlassian.net/browse/HSEARCH-4815?atlOrigin=eyJpIjoiY2U...
)
Issue Type: Task Assignee: Marko Bekhta (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) Components: backend-elasticsearch, backend-lucene Created: 06/Mar/2023 07:54 AM Fix
Versions: 6.2-backlog Priority: Major Reporter: Marko Bekhta (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
)
We can only know which highlighter type was selected by a user at the point when a request
is built. But at that point, we cannot access the field’s metadata easily.
By default, the Elasticsearch backend would return an error response when a FVH
highlighter is applied to a field without term vectors. As for the Lucene backend - it’ll
produce an empty result with nothing being highlighted.
(
https://hibernate.atlassian.net/browse/HSEARCH-4815#add-comment?atlOrigin...
) Add Comment (
https://hibernate.atlassian.net/browse/HSEARCH-4815#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#100217- sha1:f4229d0 )