Issue with cardinality and @ObjectProjection

Description

See and https://hibernate.zulipchat.com/#narrow/stream/132092-hibernate-search-dev/topic/.60.40ObjectProjection.60/near/474581337

 

The problem occurs when the projected field path has a multivalued-object field followed by >=1 single-valued object field. Sample model:

Sample query:

Activity

Show:

Marko Bekhta November 18, 2024 at 1:46 PM

yeah … we never heard back from the user

So I looked into it today to try to reproduce it aaaand got a “not-working” test case . I also got a fix (maybe), but I am adding more tests to see if it does not break something …

Yoann Rodière November 18, 2024 at 1:40 PM

Reassigning to you as I think you’ve been following the issue (ping the user, …)

Fixed

Details

Assignee

Reporter

Sprint

Priority

Created October 7, 2024 at 12:37 PM
Updated December 17, 2024 at 8:11 PM
Resolved November 21, 2024 at 8:12 PM