Skip to content

BUGFIX: adjust indexer to handle properties of type reference correctly#59

Open
andrehoffmann30 wants to merge 2 commits intoneos:mainfrom
punktDeForks:bugfix/fix-reference-indexing
Open

BUGFIX: adjust indexer to handle properties of type reference correctly#59
andrehoffmann30 wants to merge 2 commits intoneos:mainfrom
punktDeForks:bugfix/fix-reference-indexing

Conversation

@andrehoffmann30
Copy link
Copy Markdown

@andrehoffmann30 andrehoffmann30 commented Mar 24, 2026

Currently node properties of type reference are not indexed correctly. In the index the corresponding fields are empty arrays. With these adjustments this problem is fixed. See the companion pr here Flowpack/Flowpack.ElasticSearch.ContentRepositoryAdaptor#426

Comment thread Classes/Eel/IndexingHelper.php Outdated
Comment thread Classes/Eel/IndexingHelper.php Outdated
Comment thread Classes/Eel/IndexingHelper.php Outdated
indexing: '${Indexing.convertArrayOfNodesToArrayOfNodeIdentifiers(value)}'
reference:
indexing: '${value.identifier}'
indexing: '${value ? value.aggregateId.value : null}'
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👌🏼

@daniellienert
Copy link
Copy Markdown
Contributor

@kdambekalns / @kitsunet - hey guys :) This is a bugfix to handle references / reference with Neos 9 correctly. Maybe you find the time to have a look / merge and release the PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants