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

BUG: Failed to parse mapping [_doc] #4014

Open
1 task done
benlk opened this issue Nov 19, 2024 · 0 comments
Open
1 task done

BUG: Failed to parse mapping [_doc] #4014

benlk opened this issue Nov 19, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@benlk
Copy link

benlk commented Nov 19, 2024

Describe the bug

This is on a self-hosted ElasticSearch install which was previously running 6.8, which was upgraded to 7.10.

When running ./wp --allow-root --url=<example.com> elasticpress sync --force --setup --show-errors --yes, the following error message shows in the log:

Warning: Function pcntl_signal not available. Make sure to run `wp elasticpress clear-sync` in case the process is killed.
Sync cleared.
Success: Indexing posts…
Sync cleared.
Error: Mapping failed: Failed to parse mapping [_doc]: Dynamic template syntax error. An array of named objects is expected.
Mapping has failed, which will cause ElasticPress search results to be incorrect. Please click `Delete all Data and Start a Fresh Sync` to retry mapping.

If I go to Dashboard > ElasticPress > Sync, and click the "Sync" button, it fails immediately:

2024-11-19 11:06:46
Starting sync…
2024-11-19 11:06:50
Indexing posts…
2024-11-19 11:06:51
Mapping failed: Failed to parse mapping [_doc]: Dynamic template syntax error. An array of named objects is expected.
Mapping has failed, which will cause ElasticPress search results to be incorrect. Please click `Delete all Data and Start a Fresh Sync` to retry mapping.
2024-11-19 11:06:51
Sync failed

Then ElasticPress offers the "Delete all Data and Start a Fresh Sync" button. Clicking the "Sync" button with that checked will cause the sync to run again, which results in the same error:

2024-11-19 11:06:57
Starting sync…
2024-11-19 11:07:00
Indexing posts…
2024-11-19 11:07:01
Mapping failed: Failed to parse mapping [_doc]: Dynamic template syntax error. An array of named objects is expected.
Mapping has failed, which will cause ElasticPress search results to be incorrect. Please click `Delete all Data and Start a Fresh Sync` to retry mapping.
2024-11-19 11:07:01
Sync failed

Steps to Reproduce

  1. From the server, run ./wp --allow-root --url=<example.com> elasticpress sync --force --setup --show-errors --yes

Screenshots, screen recording, code snippet

No response

Environment information

  • WP-CLI 2.11.0
  • WordPress 6.7
  • php 8.3
  • ElasticSearch 7.10
  • ElasticPress 5.1.3

WordPress and ElasticPress information

Failed Queries

https://stvp-staging.tcg.stanford.edu/wp-json/elasticpress/v1/sync?include&indexables&put_mapping=true&post_type&trigger=manual (2024-11-19 14:07:01)

error: Dynamic template syntax error. An array of named objects is expected.

recommended_solution: We did not recognize this error. Please consider opening a GitHub Issue so we can add it to our list of supported errors.

es_req: PUT https://vpc-stvp-es-stag-zysgekl2jyrhb42bal64o3pzta.us-west-2.es.amazonaws.com/stvpstagingtcgstanfordedu-post-3

request_id: 12717d71de2a4fd2b2788ddc1b18a804

query_time: 64.836025238037

wp_args: array (
)

status_code: 400

body:

{
  "settings": {
    "index.number_of_shards": 5,
    "index.number_of_replicas": 1,
    "index.mapping.total_fields.limit": 5000,
    "index.mapping.ignore_malformed": true,
    "index.max_result_window": 1000000,
    "index.max_shingle_diff": 8,
    "analysis": {
      "analyzer": {
        "default": {
          "tokenizer": "standard",
          "filter": [
            "lowercase",
            "ep_stop",
            "ewp_snowball"
          ],
          "char_filter": [
            "html_strip"
          ],
          "language": "english"
        },
        "default_search": {
          "tokenizer": "standard",
          "filter": [
            "lowercase",
            "ep_synonyms_filter",
            "ep_stop",
            "ewp_snowball"
          ],
          "char_filter": [
            "html_strip"
          ],
          "language": "english"
        },
        "shingle_analyzer": {
          "type": "custom",
          "tokenizer": "standard",
          "filter": [
            "lowercase",
            "shingle_filter"
          ]
        },
        "ewp_lowercase": {
          "type": "custom",
          "tokenizer": "keyword",
          "filter": [
            "lowercase"
          ]
        }
      },
      "filter": {
        "shingle_filter": {
          "type": "shingle",
          "min_shingle_size": 2,
          "max_shingle_size": 5
        },
        "ewp_snowball": {
          "type": "snowball",
          "language": "English"
        },
        "edge_ngram": {
          "side": "front",
          "max_gram": 10,
          "min_gram": 3,
          "type": "edge_ngram"
        },
        "ep_stop": {
          "type": "stop",
          "ignore_case": true,
          "stopwords": "english"
        },
        "ep_synonyms_filter": {
          "type": "synonym_graph",
          "lenient": true,
          "synonyms": [
            "sneakers, tennis shoes, trainers, runners",
            "shoes => sneaker, sandal, boots, high heels"
          ]
        }
      },
      "normalizer": {
        "lowerasciinormalizer": {
          "type": "custom",
          "filter": [
            "lowercase",
            "asciifolding"
          ]
        }
      }
    }
  },
  "mappings": {
    "meta": {
      "mapping_version": "7-0.php",
      "properties": {
        "duration": {
          "type": "long"
        }
      }
    },
    "date_detection": {
      "properties": {
        "duration": {
          "type": "long"
        }
      }
    },
    "dynamic_templates": {
      "0": {
        "template_meta": {
          "path_match": "post_meta.",
          "mapping": {
            "type": "text",
            "fields": {
              "{name}": {
                "type": "text"
              },
              "raw": {
                "type": "keyword",
                "ignore_above": 10922
              }
            }
          }
        }
      },
      "1": {
        "template_meta_types": {
          "path_match": "meta.",
          "mapping": {
            "type": "object",
            "properties": {
              "value": {
                "type": "text",
                "fields": {
                  "sortable": {
                    "type": "keyword",
                    "ignore_above": 10922,
                    "normalizer": "lowerasciinormalizer"
                  },
                  "raw": {
                    "type": "keyword",
                    "ignore_above": 10922
                  }
                }
              },
              "raw": {
                "type": "keyword",
                "ignore_above": 10922
              },
              "long": {
                "type": "long"
              },
              "double": {
                "type": "double"
              },
              "boolean": {
                "type": "boolean"
              },
              "date": {
                "type": "date",
                "format": "yyyy-MM-dd"
              },
              "datetime": {
                "type": "date",
                "format": "yyyy-MM-dd HH:mm:ss"
              },
              "time": {
                "type": "date",
                "format": "HH:mm:ss"
              }
            }
          }
        }
      },
      "2": {
        "template_terms": {
          "path_match": "terms.*",
          "mapping": {
            "type": "object",
            "properties": {
              "name": {
                "type": "text",
                "fields": {
                  "raw": {
                    "type": "keyword"
                  },
                  "sortable": {
                    "type": "keyword",
                    "normalizer": "lowerasciinormalizer"
                  }
                }
              },
              "term_id": {
                "type": "long"
              },
              "term_taxonomy_id": {
                "type": "long"
              },
              "parent": {
                "type": "long"
              },
              "slug": {
                "type": "keyword"
              },
              "facet": {
                "type": "keyword"
              },
              "term_order": {
                "type": "long"
              }
            }
          }
        }
      },
      "3": {
        "term_suggest": {
          "path_match": "term_suggest*",
          "mapping": {
            "type": "completion",
            "analyzer": "default"
          }
        }
      },
      "properties": {
        "duration": {
          "type": "long"
        }
      }
    },
    "properties": {
      "post_id": {
        "type": "long"
      },
      "ID": {
        "type": "long"
      },
      "post_author": {
        "type": "object",
        "properties": {
          "display_name": {
            "type": "text",
            "fields": {
              "raw": {
                "type": "keyword"
              },
              "sortable": {
                "type": "keyword",
                "normalizer": "lowerasciinormalizer"
              }
            }
          },
          "login": {
            "type": "text",
            "fields": {
              "raw": {
                "type": "keyword"
              },
              "sortable": {
                "type": "keyword",
                "normalizer": "lowerasciinormalizer"
              }
            }
          },
          "id": {
            "type": "long"
          },
          "raw": {
            "type": "keyword"
          }
        }
      },
      "post_date": {
        "type": "date",
        "format": "yyyy-MM-dd HH:mm:ss"
      },
      "post_date_gmt": {
        "type": "date",
        "format": "yyyy-MM-dd HH:mm:ss"
      },
      "post_title": {
        "type": "text",
        "fields": {
          "post_title": {
            "type": "text",
            "analyzer": "standard"
          },
          "raw": {
            "type": "keyword",
            "ignore_above": 10922
          },
          "sortable": {
            "type": "keyword",
            "ignore_above": 10922,
            "normalizer": "lowerasciinormalizer"
          }
        }
      },
      "post_excerpt": {
        "type": "text"
      },
      "post_password": {
        "type": "text"
      },
      "post_content": {
        "type": "text"
      },
      "post_content_filtered": {
        "type": "text"
      },
      "post_status": {
        "type": "keyword"
      },
      "post_name": {
        "type": "text",
        "fields": {
          "post_name": {
            "type": "text"
          },
          "raw": {
            "type": "keyword",
            "ignore_above": 10922
          }
        }
      },
      "post_modified": {
        "type": "date",
        "format": "yyyy-MM-dd HH:mm:ss"
      },
      "post_modified_gmt": {
        "type": "date",
        "format": "yyyy-MM-dd HH:mm:ss"
      },
      "post_parent": {
        "type": "long"
      },
      "post_type": {
        "type": "text",
        "fields": {
          "post_type": {
            "type": "text"
          },
          "raw": {
            "type": "keyword"
          }
        }
      },
      "post_mime_type": {
        "type": "keyword"
      },
      "permalink": {
        "type": "keyword"
      },
      "guid": {
        "type": "keyword"
      },
      "terms": {
        "type": "object"
      },
      "post_meta": {
        "type": "object"
      },
      "meta": {
        "type": "object"
      },
      "date_terms": {
        "type": "object",
        "properties": {
          "year": {
            "type": "integer"
          },
          "month": {
            "type": "integer"
          },
          "m": {
            "type": "integer"
          },
          "week": {
            "type": "integer"
          },
          "day": {
            "type": "integer"
          },
          "dayofweek": {
            "type": "integer"
          },
          "dayofweek_iso": {
            "type": "integer"
          },
          "dayofyear": {
            "type": "integer"
          },
          "hour": {
            "type": "integer"
          },
          "minute": {
            "type": "integer"
          },
          "second": {
            "type": "integer"
          }
        }
      },
      "thumbnail": {
        "type": "object",
        "properties": {
          "ID": {
            "type": "long"
          },
          "src": {
            "type": "text"
          },
          "width": {
            "type": "integer"
          },
          "height": {
            "type": "integer"
          },
          "alt": {
            "type": "text"
          }
        }
      },
      "properties": {
        "duration": {
          "type": "long"
        }
      }
    }
  }
}
result: array (
  'error' => 
  array (
    'root_cause' => 
    array (
      0 => 
      array (
        'type' => 'mapper_parsing_exception',
        'reason' => 'Dynamic template syntax error. An array of named objects is expected.',
      ),
    ),
    'type' => 'mapper_parsing_exception',
    'reason' => 'Failed to parse mapping [_doc]: Dynamic template syntax error. An array of named objects is expected.',
    'caused_by' => 
    array (
      'type' => 'mapper_parsing_exception',
      'reason' => 'Dynamic template syntax error. An array of named objects is expected.',
    ),
  ),
  'status' => 400,
)

WordPress

WordPress Environment

wp_version: 6.7
home_url: https://stvp-staging.tcg.stanford.edu
site_url: https://stvp-staging.tcg.stanford.edu
is_multisite: true
theme: STVP Theme (1.0)
plugins: 10up Experience (1.12.1), 10up UI Kit (1.2.4), Advanced Custom Fields (6.3.11), BDC Migration (0.1.0), Column Shortcodes (1.0.1), Custom Post Type UI (1.17.1), ElasticPress (5.1.3), ElasticPress Debugging Add-On (3.1.0), Extra Menu Item Attributes (0.1), FileBird Lite (6.4.2), Gravity Forms (2.8.18), Gravity Forms Digest Bulk Reports (0.3.0), Gravity Forms Directory (4.2), Gravity Forms Mailchimp Add-On (5.5.0), Gravity Forms Placeholder Add-On (1.1.0), Gravity Forms Signature Add-On (4.6.0), Gravity Forms Survey Add-On (4.1.0), Gravity Forms Zapier Add-On (4.3.0), Public Post Preview (2.10.0), Query Monitor (3.16.4), Rewrite Rules Inspector (1.4.0), S3 Uploads (3.0.3), Safe Redirect Manager (2.2.0), Sign-up Sheets (2.2.14), STVP Featured Image Extended (999.000), STVP Shortcodes (1.0), wpautop-control (1.6), Yoast Duplicate Post (4.5), and Yoast SEO (23.8)
revisions: all

Server Environment

php_version: 8.3.13
memory_limit: 64M
timeout: 30

Indexable Content

Stanford Technology Ventures Program — https://stvp-staging.tcg.stanford.edu

post_count: 192
page_count: 137
dlssus_sheet_count: 0
dlssus_task_count: 0
dlssus_signup_count: 0
user-collection_count: 0
video-podcast-feed_count: 0
team_member_count: 194
student_count: 528
publication_count: 11
event_count: 84
press_count: 35
hpb_count: 4
student_activity_count: 59
sa_test_count: 0
news_count: 200
doc_content_count: 11
course_count: 68
student_activity_ins_count: 27
persona_count: 4
article_count: 202
video_count: 1,877
podcast_count: 541
snippet_count: 2,183
contributor_count: 687
collection_count: 0
post_meta_keys: 0
page_meta_keys: 1
dlssus_sheet_meta_keys: 0
dlssus_task_meta_keys: 0
dlssus_signup_meta_keys: 0
user-collection_meta_keys: 0
video-podcast-feed_meta_keys: 0
team_member_meta_keys: 0
student_meta_keys: 0
publication_meta_keys: 1
event_meta_keys: 0
press_meta_keys: 0
hpb_meta_keys: 0
student_activity_meta_keys: 0
sa_test_meta_keys: 0
news_meta_keys: 0
doc_content_meta_keys: 1
course_meta_keys: 0
student_activity_ins_meta_keys: 0
persona_meta_keys: 0
article_meta_keys: 0
video_meta_keys: 0
podcast_meta_keys: 0
snippet_meta_keys: 0
contributor_meta_keys: 0
collection_meta_keys: 0
total-all-post-types: 1
distinct-meta-keys: ep_exclude_from_search

ElasticPress

Settings

host: https://vpc-stvp-es-stag-zysgekl2jyrhb42bal64o3pzta.us-west-2.es.amazonaws.com/
index_prefix:
language: site-default
per_page: 350
network_active: false

Timeouts

request_timeout: 5
index_document_timeout: 15
bulk_request_timeout: 30

Elasticsearch Indices

stvpstagingtcgstanfordedu-post-3

0: true

Last Sync

2024/11/19 2:06:58 pm

method: WP Dashboard
is_full_sync: Yes
end_date_time: 2024/11/19 2:07:01 pm
total_time: 0 hours, 0 minutes, 4 seconds
total: 0
synced: 0
skipped: 0
failed: 0
errors: array (
0 =>
array (
'root_cause' =>
array (
0 =>
array (
'type' => 'mapper_parsing_exception',
'reason' => 'Dynamic template syntax error. An array of named objects is expected.',
),
),
'type' => 'mapper_parsing_exception',
'reason' => 'Failed to parse mapping [_doc]: Dynamic template syntax error. An array of named objects is expected.',
'caused_by' =>
array (
'type' => 'mapper_parsing_exception',
'reason' => 'Dynamic template syntax error. An array of named objects is expected.',
),
),
)
trigger: manual
final_status: failed

Feature Settings

Custom Search Results

active: true
force_inactive: false

Filters

active: true
force_inactive: false
match_type: all

Post Search

active: true
decaying_enabled: 1
force_inactive: false
highlight_enabled: 0
highlight_excerpt: 0
highlight_tag: mark
synonyms_editor_mode: simple
synonyms:

# Defined sets (equivalent synonyms).
sneakers, tennis shoes, trainers, runners

Defined alternatives (explicit mappings).

shoes => sneaker, sandal, boots, high heels

weighting:
array (
  'post' => 
  array (
    'post_title' => 
    array (
      'enabled' => true,
      'weight' => 10,
    ),
    'post_content' => 
    array (
      'enabled' => true,
      'weight' => 1,
    ),
    'post_excerpt' => 
    array (
      'enabled' => true,
      'weight' => 1,
    ),
    'author_name' => 
    array (
      'weight' => 1,
      'enabled' => false,
    ),
    'terms.post_tag.name' => 
    array (
      'enabled' => true,
      'weight' => 10,
    ),
    'terms.category.name' => 
    array (
      'enabled' => true,
      'weight' => 10,
    ),
    'terms.ep_custom_result.name' => 
    array (
      'enabled' => true,
      'weight' => 9999,
      'fuzziness' => false,
    ),
  ),
  'page' => 
  array (
    'post_title' => 
    array (
      'enabled' => true,
      'weight' => 20,
    ),
    'post_content' => 
    array (
      'enabled' => true,
      'weight' => 1,
    ),
    'post_excerpt' => 
    array (
      'enabled' => true,
      'weight' => 1,
    ),
    'author_name' => 
    array (
      'weight' => 1,
      'enabled' => false,
    ),
    'terms.ep_custom_result.name' => 
    array (
      'enabled' => true,
      'weight' => 9999,
      'fuzziness' => false,
    ),
  ),
  'dlssus_sheet' => 
  array (
    'post_title' => 
    array (
      'weight' => 10,
      'enabled' => false,
    ),
    'post_content' => 
    array (
      'weight' => 1,
      'enabled' => false,
    ),
    'post_excerpt' => 
    array (
      'weight' => 1,
      'enabled' => false,
    ),
    'author_name' => 
    array (
      'weight' => 1,
      'enabled' => false,
    ),
    'terms.ep_custom_result.name' => 
    array (
      'enabled' => true,
      'weight' => 9999,
      'fuzziness' => false,
    ),
  ),
  'user-collection' => 
  array (
    'post_title' => 
    array (
      'weight' => 10,
      'enabled' => false,
    ),
    'post_content' => 
    array (
      'weight' => 1,
      'enabled' => false,
    ),
    'post_excerpt' => 
    array (
      'weight' => 1,
      'enabled' => false,
    ),
    'author_name' => 
    array (
      'weight' => 1,
      'enabled' => false,
    ),
    'terms.ep_custom_result.name' => 
    array (
      'enabled' => true,
      'weight' => 9999,
      'fuzziness' => false,
    ),
  ),
  'publication' => 
  array (
    'post_title' => 
    array (
      'enabled' => true,
      'weight' => 10,
    ),
    'post_content' => 
    array (
      'enabled' => true,
      'weight' => 1,
    ),
    'post_excerpt' => 
    array (
      'enabled' => true,
      'weight' => 1,
    ),
    'author_name' => 
    array (
      'weight' => 1,
      'enabled' => false,
    ),
    'terms.ep_custom_result.name' => 
    array (
      'enabled' => true,
      'weight' => 9999,
      'fuzziness' => false,
    ),
  ),
  'event' => 
  array (
    'post_title' => 
    array (
      'weight' => 10,
      'enabled' => true,
    ),
    'post_content' => 
    array (
      'weight' => 1,
      'enabled' => true,
    ),
    'post_excerpt' => 
    array (
      'weight' => 1,
      'enabled' => true,
    ),
    'author_name' => 
    array (
      'weight' => 1,
      'enabled' => false,
    ),
    'terms.ep_custom_result.name' => 
    array (
      'enabled' => true,
      'weight' => 9999,
      'fuzziness' => false,
    ),
  ),
  'press' => 
  array (
    'post_title' => 
    array (
      'enabled' => true,
      'weight' => 1,
    ),
    'post_content' => 
    array (
      'enabled' => true,
      'weight' => 1,
    ),
    'post_excerpt' => 
    array (
      'enabled' => true,
      'weight' => 1,
    ),
    'author_name' => 
    array (
      'weight' => 1,
      'enabled' => false,
    ),
    'terms.ep_custom_result.name' => 
    array (
      'enabled' => true,
      'weight' => 9999,
      'fuzziness' => false,
    ),
  ),
  'hpb' => 
  array (
    'post_title' => 
    array (
      'weight' => 1,
      'enabled' => false,
    ),
    'post_content' => 
    array (
      'weight' => 1,
      'enabled' => false,
    ),
    'post_excerpt' => 
    array (
      'weight' => 1,
      'enabled' => false,
    ),
    'author_name' => 
    array (
      'weight' => 1,
      'enabled' => false,
    ),
    'terms.ep_custom_result.name' => 
    array (
      'enabled' => true,
      'weight' => 9999,
      'fuzziness' => false,
    ),
  ),
  'student_activity' => 
  array (
    'post_title' => 
    array (
      'weight' => 1,
      'enabled' => false,
    ),
    'post_content' => 
    array (
      'weight' => 1,
      'enabled' => false,
    ),
    'post_excerpt' => 
    array (
      'weight' => 1,
      'enabled' => false,
    ),
    'author_name' => 
    array (
      'weight' => 1,
      'enabled' => false,
    ),
    'terms.ep_custom_result.name' => 
    array (
      'enabled' => true,
      'weight' => 9999,
      'fuzziness' => false,
    ),
  ),
  'sa_test' => 
  array (
    'post_title' => 
    array (
      'weight' => 1,
      'enabled' => false,
    ),
    'post_content' => 
    array (
      'weight' => 1,
      'enabled' => false,
    ),
    'post_excerpt' => 
    array (
      'weight' => 1,
      'enabled' => false,
    ),
    'author_name' => 
    array (
      'weight' => 1,
      'enabled' => false,
    ),
    'terms.ep_custom_result.name' => 
    array (
      'enabled' => true,
      'weight' => 9999,
      'fuzziness' => false,
    ),
  ),
  'news' => 
  array (
    'post_title' => 
    array (
      'enabled' => true,
      'weight' => 10,
    ),
    'post_content' => 
    array (
      'enabled' => true,
      'weight' => 1,
    ),
    'post_excerpt' => 
    array (
      'enabled' => true,
      'weight' => 1,
    ),
    'author_name' => 
    array (
      'weight' => 1,
      'enabled' => false,
    ),
    'terms.ep_custom_result.name' => 
    array (
      'enabled' => true,
      'weight' => 9999,
      'fuzziness' => false,
    ),
  ),
  'doc_content' => 
  array (
    'post_title' => 
    array (
      'enabled' => true,
      'weight' => 1,
    ),
    'post_content' => 
    array (
      'enabled' => true,
      'weight' => 1,
    ),
    'post_excerpt' => 
    array (
      'enabled' => true,
      'weight' => 1,
    ),
    'author_name' => 
    array (
      'weight' => 1,
      'enabled' => false,
    ),
    'terms.ep_custom_result.name' => 
    array (
      'enabled' => true,
      'weight' => 9999,
      'fuzziness' => false,
    ),
  ),
  'course' => 
  array (
    'post_title' => 
    array (
      'weight' => 1,
      'enabled' => false,
    ),
    'post_content' => 
    array (
      'weight' => 1,
      'enabled' => false,
    ),
    'post_excerpt' => 
    array (
      'weight' => 1,
      'enabled' => false,
    ),
    'author_name' => 
    array (
      'weight' => 1,
      'enabled' => false,
    ),
    'terms.ep_custom_result.name' => 
    array (
      'enabled' => true,
      'weight' => 9999,
      'fuzziness' => false,
    ),
  ),
  'student_activity_ins' => 
  array (
    'post_title' => 
    array (
      'weight' => 1,
      'enabled' => false,
    ),
    'post_content' => 
    array (
      'weight' => 1,
      'enabled' => false,
    ),
    'post_excerpt' => 
    array (
      'weight' => 1,
      'enabled' => false,
    ),
    'author_name' => 
    array (
      'weight' => 1,
      'enabled' => false,
    ),
    'terms.ep_custom_result.name' => 
    array (
      'enabled' => true,
      'weight' => 9999,
      'fuzziness' => false,
    ),
  ),
  'article' => 
  array (
    'post_title' => 
    array (
      'enabled' => true,
      'weight' => 10,
    ),
    'post_content' => 
    array (
      'enabled' => true,
      'weight' => 1,
    ),
    'post_excerpt' => 
    array (
      'enabled' => true,
      'weight' => 1,
    ),
    'author_name' => 
    array (
      'weight' => 1,
      'enabled' => false,
    ),
    'terms.post_tag.name' => 
    array (
      'enabled' => true,
      'weight' => 10,
    ),
    'terms.category.name' => 
    array (
      'enabled' => true,
      'weight' => 10,
    ),
    'terms.ep_custom_result.name' => 
    array (
      'enabled' => true,
      'weight' => 9999,
      'fuzziness' => false,
    ),
    'terms.contributor-shadow.name' => 
    array (
      'enabled' => true,
      'weight' => 4,
    ),
  ),
  'video' => 
  array (
    'post_title' => 
    array (
      'enabled' => true,
      'weight' => 1,
    ),
    'post_content' => 
    array (
      'enabled' => true,
      'weight' => 1,
    ),
    'post_excerpt' => 
    array (
      'enabled' => true,
      'weight' => 1,
    ),
    'author_name' => 
    array (
      'weight' => 1,
      'enabled' => false,
    ),
    'terms.post_tag.name' => 
    array (
      'enabled' => true,
      'weight' => 10,
    ),
    'terms.category.name' => 
    array (
      'enabled' => true,
      'weight' => 10,
    ),
    'terms.ep_custom_result.name' => 
    array (
      'enabled' => true,
      'weight' => 9999,
      'fuzziness' => false,
    ),
    'terms.contributor-shadow.name' => 
    array (
      'enabled' => true,
      'weight' => 4,
    ),
  ),
  'podcast' => 
  array (
    'post_title' => 
    array (
      'enabled' => true,
      'weight' => 10,
    ),
    'post_content' => 
    array (
      'enabled' => true,
      'weight' => 1,
    ),
    'post_excerpt' => 
    array (
      'enabled' => true,
      'weight' => 1,
    ),
    'author_name' => 
    array (
      'weight' => 1,
      'enabled' => false,
    ),
    'terms.post_tag.name' => 
    array (
      'enabled' => true,
      'weight' => 10,
    ),
    'terms.category.name' => 
    array (
      'enabled' => true,
      'weight' => 10,
    ),
    'terms.ep_custom_result.name' => 
    array (
      'enabled' => true,
      'weight' => 9999,
      'fuzziness' => false,
    ),
    'terms.contributor-shadow.name' => 
    array (
      'enabled' => true,
      'weight' => 4,
    ),
  ),
  'snippet' => 
  array (
    'post_title' => 
    array (
      'enabled' => true,
      'weight' => 10,
    ),
    'post_content' => 
    array (
      'enabled' => true,
      'weight' => 1,
    ),
    'post_excerpt' => 
    array (
      'enabled' => true,
      'weight' => 1,
    ),
    'author_name' => 
    array (
      'weight' => 1,
      'enabled' => false,
    ),
    'terms.post_tag.name' => 
    array (
      'enabled' => true,
      'weight' => 10,
    ),
    'terms.category.name' => 
    array (
      'enabled' => true,
      'weight' => 10,
    ),
    'terms.ep_custom_result.name' => 
    array (
      'enabled' => true,
      'weight' => 9999,
      'fuzziness' => false,
    ),
    'terms.contributor-shadow.name' => 
    array (
      'enabled' => true,
      'weight' => 4,
    ),
  ),
  'contributor' => 
  array (
    'post_title' => 
    array (
      'enabled' => true,
      'weight' => 10,
    ),
    'post_content' => 
    array (
      'enabled' => true,
      'weight' => 1,
    ),
    'post_excerpt' => 
    array (
      'enabled' => true,
      'weight' => 1,
    ),
    'author_name' => 
    array (
      'weight' => 1,
      'enabled' => false,
    ),
    'terms.ep_custom_result.name' => 
    array (
      'enabled' => true,
      'weight' => 9999,
      'fuzziness' => false,
    ),
  ),
  'collection' => 
  array (
    'post_title' => 
    array (
      'weight' => 10,
      'enabled' => false,
    ),
    'post_content' => 
    array (
      'weight' => 1,
      'enabled' => false,
    ),
    'post_excerpt' => 
    array (
      'weight' => 1,
      'enabled' => false,
    ),
    'author_name' => 
    array (
      'weight' => 1,
      'enabled' => false,
    ),
    'terms.ep_custom_result.name' => 
    array (
      'enabled' => true,
      'weight' => 9999,
      'fuzziness' => false,
    ),
    'terms.contributor-shadow.name' => 
    array (
      'weight' => 4,
      'enabled' => false,
    ),
  ),
)

Related Posts

active: true
force_inactive: false

Code of Conduct

  • I agree to follow this project's Code of Conduct
@benlk benlk added the bug Something isn't working label Nov 19, 2024
@benlk benlk self-assigned this Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant