[hibernate-issues] [JIRA] (HSEARCH-3835) Remove the unused "__HSEARCH_root_index_name" and "__HSEARCH_root_id" fields in nested documents

Yoann Rodière (JIRA) jira at hibernate.atlassian.net
Thu Feb 20 04:15:05 EST 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=eyJpIjoiZGVlY2ZmMzQzYzc4NGM3ZGE0YzRjODg0ZDQxMzkyZTgiLCJwIjoiaiJ9 ) / Improvement ( https://hibernate.atlassian.net/browse/HSEARCH-3835?atlOrigin=eyJpIjoiZGVlY2ZmMzQzYzc4NGM3ZGE0YzRjODg0ZDQxMzkyZTgiLCJwIjoiaiJ9 ) HSEARCH-3835 ( https://hibernate.atlassian.net/browse/HSEARCH-3835?atlOrigin=eyJpIjoiZGVlY2ZmMzQzYzc4NGM3ZGE0YzRjODg0ZDQxMzkyZTgiLCJwIjoiaiJ9 ) Remove the unused "__HSEARCH_root_index_name" and "__HSEARCH_root_id" fields in nested documents ( https://hibernate.atlassian.net/browse/HSEARCH-3835?atlOrigin=eyJpIjoiZGVlY2ZmMzQzYzc4NGM3ZGE0YzRjODg0ZDQxMzkyZTgiLCJwIjoiaiJ9 )

Issue Type: Improvement Assignee: Unassigned Components: backend-lucene Created: 20/Feb/2020 01:15 AM Fix Versions: 6.0.0.Beta-backlog-high-priority Priority: Major Reporter: Yoann Rodière ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A58fa1ced-171a-4c00-97e8-5d70d442cc4b )

See org.hibernate.search.backend.lucene.document.impl.LuceneNestedObjectDocumentBuilder#contribute: the two fields are only used when indexing. Operations on nested documents, for example org.hibernate.search.backend.lucene.search.predicate.impl.LuceneNestedPredicateBuilder#doBuild , rely on the nested document path and ignore anything else: joins rely on the fact that the root document and nested documents are indexed in the same "block", so there's no need to

Note we will still need to index the root ID somewhere as explained in HSEARCH-3834 ( https://hibernate.atlassian.net/browse/HSEARCH-3834 ) Open.

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

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#100121- sha1:b179e60 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-issues/attachments/20200220/bf31964e/attachment.html 


More information about the hibernate-issues mailing list