Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Block level variants - search indexing #17239

Merged
merged 6 commits into from
Oct 20, 2024

Conversation

kjac
Copy link
Contributor

@kjac kjac commented Oct 10, 2024

Prerequisites

  • I have added steps to test this contribution in the description below

Description

This fixes search indexing for block level variants.

Testing

Setup various permutations of variant, invariant and block level variant content, and test that search indexing works for these content items.

Pay special attention to block level variance in RTEs, as this has proven rather tricky to handle indexing wise.

Breaking change

The signature for all property indexing change quite a bit, to allow an invariant property value to yield multiple index values across different language variants. For example, the IPropertyIndexValueFactory now yields an IEnumerable<IndexValue> instead of IEnumerable<KeyValuePair<string, IEnumerable<object?>>>, where the IndexValue has language variance built into it.

This change is impossible to do in a backwards compatible fashion, because the current implementation with KeyValuePair<string, IEnumerable<object?>> really does not translate well.

…v15/fix/block-level-variation-search-indexing
Copy link
Member

@elit0451 elit0451 left a comment

Choose a reason for hiding this comment

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

Tests out good 💪

@kjac kjac merged commit bafcc2b into release/15.0 Oct 20, 2024
14 of 15 checks passed
@kjac kjac deleted the v15/fix/block-level-variation-search-indexing branch October 20, 2024 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants