[hibernate-issues] [JIRA] (HSEARCH-3904) exists() predicate ignores nested object fields among children of the targeted object field

Yoann Rodière (JIRA) jira at hibernate.atlassian.net
Thu Apr 30 03:20:32 EDT 2020


Yoann Rodière ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A58fa1ced-171a-4c00-97e8-5d70d442cc4b ) *created* an issue

Hibernate Search ( https://hibernate.atlassian.net/browse/HSEARCH?atlOrigin=eyJpIjoiNzM4NzExOTU2MjVhNDY0MThiYzgzM2I4OTRlNzhhNzciLCJwIjoiaiJ9 ) / Bug ( https://hibernate.atlassian.net/browse/HSEARCH-3904?atlOrigin=eyJpIjoiNzM4NzExOTU2MjVhNDY0MThiYzgzM2I4OTRlNzhhNzciLCJwIjoiaiJ9 ) HSEARCH-3904 ( https://hibernate.atlassian.net/browse/HSEARCH-3904?atlOrigin=eyJpIjoiNzM4NzExOTU2MjVhNDY0MThiYzgzM2I4OTRlNzhhNzciLCJwIjoiaiJ9 ) exists() predicate ignores nested object fields among children of the targeted object field ( https://hibernate.atlassian.net/browse/HSEARCH-3904?atlOrigin=eyJpIjoiNzM4NzExOTU2MjVhNDY0MThiYzgzM2I4OTRlNzhhNzciLCJwIjoiaiJ9 )

Issue Type: Bug Assignee: Unassigned Components: backend-elasticsearch, backend-lucene Created: 30/Apr/2020 00:20 AM Fix Versions: 6.x-backlog Priority: Major Reporter: Yoann Rodière ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A58fa1ced-171a-4c00-97e8-5d70d442cc4b )

Let's say we declare a flattened object field objectField , and inside it a nested object field objectField.nestedField , and inside it a text field objectField.nestedField.textField.

Then an exists() predicate run on field objectField will never, ever match, because the nested object field and its children are ignored.

This is true for both the Lucene and Elasticsearch backend.

( https://hibernate.atlassian.net/browse/HSEARCH-3904#add-comment?atlOrigin=eyJpIjoiNzM4NzExOTU2MjVhNDY0MThiYzgzM2I4OTRlNzhhNzciLCJwIjoiaiJ9 ) Add Comment ( https://hibernate.atlassian.net/browse/HSEARCH-3904#add-comment?atlOrigin=eyJpIjoiNzM4NzExOTU2MjVhNDY0MThiYzgzM2I4OTRlNzhhNzciLCJwIjoiaiJ9 )

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.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100125- sha1:e06514a )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-issues/attachments/20200430/3622be4c/attachment.html 


More information about the hibernate-issues mailing list