Layout Builder Basic Blocks Not Searchable

Created on 2 January 2025, 21 days ago

Wondering if I missed a step, but search api is not returning results from basic blocks created in layout builder. To reproduce:

  1. Install v1.0.3 on Drupal 10.4 (I'm not using Solr, just plain Search API v8.x-1.37)
  2. Add patch for Missing config schema πŸ› Missing config schema Needs review just in case
  3. Processors > Layout builder references checked > Basic block type (in below settings)
  4. Added "Content block" datasource to the index
  5. Added field "Layoutbuilder Block Content: Basic block Β» Body" for Content block data type (Fulltext)

No log errors, even if I re-save the Layout or save the node, no difference.

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States yospyn

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @yospyn
  • πŸ‡ΊπŸ‡ΈUnited States yospyn

    Never mind! My mistake was enabling the "Content block" datasource. I didn't need to do that.

    Now in the fields tab > "Content" datasource > I select THAT "Layoutbuilder Block Content: Basic block Β» Body" field.

    However I will say that having both the "Content" and "Content block" datasources enabled seemed to confuse this module. If you have them both enabled, it will throw you into the "Content block" datasource, even if you select the field in the "Content" datasource.

Production build 0.71.5 2024