[hibernate-issues] [JIRA] (HSEARCH-3891) Allow POJO mapper implementations to pass explicit routing keys when indexing

Yoann Rodière (JIRA) jira at hibernate.atlassian.net
Tue Apr 14 05:03:17 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=eyJpIjoiOTQxZDlhNDEyY2U2NDNiNWIzZjQ4NjJiZmU0YTRlZWMiLCJwIjoiaiJ9 ) / Task ( https://hibernate.atlassian.net/browse/HSEARCH-3891?atlOrigin=eyJpIjoiOTQxZDlhNDEyY2U2NDNiNWIzZjQ4NjJiZmU0YTRlZWMiLCJwIjoiaiJ9 ) HSEARCH-3891 ( https://hibernate.atlassian.net/browse/HSEARCH-3891?atlOrigin=eyJpIjoiOTQxZDlhNDEyY2U2NDNiNWIzZjQ4NjJiZmU0YTRlZWMiLCJwIjoiaiJ9 ) Allow POJO mapper implementations to pass explicit routing keys when indexing ( https://hibernate.atlassian.net/browse/HSEARCH-3891?atlOrigin=eyJpIjoiOTQxZDlhNDEyY2U2NDNiNWIzZjQ4NjJiZmU0YTRlZWMiLCJwIjoiaiJ9 )

Issue Type: Task Assignee: Unassigned Components: mapper-pojo Created: 14/Apr/2020 02:03 AM Fix Versions: 6.0.0.Beta-backlog-low-priority Priority: Major Reporter: Yoann Rodière ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A58fa1ced-171a-4c00-97e8-5d70d442cc4b )

We already allow it for the purge: org.hibernate.search.mapper.pojo.work.impl.PojoIndexedTypeIndexingPlan.IndexedEntityIndexingPlan#providedRoutingKey. Let's allow it for any kind of work: it will benefit to Infinispan, in particular.

The idea would simply be to add a parameter String providedRoutingKey to every add / addOrUpdate / delete method in org.hibernate.search.mapper.pojo.work.spi.PojoIndexingPlan.

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

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#100124- sha1:185bad4 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-issues/attachments/20200414/3764f6f0/attachment.html 


More information about the hibernate-issues mailing list