Currently the bundle dependency plugin assumes that the bundle the document is associated with is stored in a facet field explicitly named "bundle". This is problematic when the field is not named "bundle" as was reported in the Search API integration issue #1215526: Add support for the "Bundle" dependency plugin. The assumption also caused problematic when the index contains data from multiple entities, as the plugin has no way of knowing which entity the bundle is associated with.

Comments

cpliakas’s picture

Adding "Search API integration blocker" tag.

cpliakas’s picture

Status: Active » Needs review
StatusFileSize
new5.92 KB

The attached patch adds a key to the facet definition telling which entities the field is containing bundle data for.

cpliakas’s picture

Status: Needs review » Fixed

Committed with minor modification at 3307412.

cpliakas’s picture

Status: Fixed » Needs work

There are still some assumptions in the "selected" option. Marking as "needs work".

cpliakas’s picture

Status: Needs work » Needs review
StatusFileSize
new5.05 KB

The attached patch resolved the remaining dependencies.

cpliakas’s picture

Status: Needs review » Fixed

Committed at 71fbaf8.

Automatically closed -- issue fixed for 2 weeks with no activity.