Fabio Massimo Ercoli (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *created* an issue
Hibernate Search (
https://hibernate.atlassian.net/browse/HSEARCH?atlOrigin=eyJpIjoiMmJiNGFj...
) / Task (
https://hibernate.atlassian.net/browse/HSEARCH-3897?atlOrigin=eyJpIjoiMmJ...
) HSEARCH-3897 (
https://hibernate.atlassian.net/browse/HSEARCH-3897?atlOrigin=eyJpIjoiMmJ...
) Support explain query while changing the index name (
https://hibernate.atlassian.net/browse/HSEARCH-3897?atlOrigin=eyJpIjoiMmJ...
)
Issue Type: Task Affects Versions: 6.0.0.Beta6 Assignee: Unassigned Components:
backend-lucene Created: 18/Apr/2020 06:41 AM Fix Versions:
6.0.0.Beta-backlog-high-priority Priority: Major Reporter: Fabio Massimo Ercoli (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
)
It seems we cannot do an explain query using the Lucene extension if we change the index
name, e.g: setting the name attribute of an @Index annotation.
On attach I will leave a patch to reproduce the case, it targets the showcase IT module, I
didn’t have the time to understand if the issue is due by the mapper or by the backend
side.
E.g: changing the index name from Book to book (all lowercase) the error message will
be:
org.hibernate.search.util.common.SearchException: HSEARCH600077: Document with id
'1' does not exist in index 'book' and thus its match cannot be
explained.
(
https://hibernate.atlassian.net/browse/HSEARCH-3897#add-comment?atlOrigin...
) Add Comment (
https://hibernate.atlassian.net/browse/HSEARCH-3897#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#100124- sha1:93e2dd3 )