Having trouble submitting my assessment. Everything seems to be working on Staging but I keep failing and having restarted a few times, I’m not sure what’s going wrong.
Adding searchable fields for both Community Stories and Help Articles
{
"$schema": "https://schema.yext.com/config/answers/answers-config/v1",
"$id": "answers",
"name": "answers",
"supportedLocales": [],
"countryRestrictions": [],
"verticals": {
"community_stories": {
"entityTypes": [
"ce_communityStory"
],
"name": "Community Stories",
"searchableFields": {
"builtin.entityType": {
"nlpFilter": true
},
"c_goal": {
"textSearch": true
},
"c_theme": {
"nlpFilter": true
},
"name": {
"semanticTextSearch": true
}
},
"sortBys": [],
"source": "YEXT"
},
"events": {
"entityTypes": [
"event"
],
"name": "Events",
"searchableFields": {
"builtin.entityType": {
"nlpFilter": true
},
"name": {
"textSearch": true
}
},
"sortBys": [],
"source": "YEXT"
},
"faqs": {
"entityTypes": [
"faq"
],
"name": "FAQs",
"savedSearchId": "121202151",
"searchableFields": {
"builtin.entityType": {
"nlpFilter": true
},
"keywords": {
"textSearch": true
},
"question": {
"semanticTextSearch": true
}
},
"sortBys": [],
"source": "YEXT"
},
"help_articles": {
"entityTypes": [
"helpArticle"
],
"name": "Help Articles",
"searchableFields": {
"body": {
"documentSearch": true
},
"builtin.entityType": {
"nlpFilter": true
},
"name": {
"semanticTextSearch": true
}
},
"sortBys": [],
"source": "YEXT"
},
"restaurants": {
"directAnswers": {
"fieldValues": {
"eligibleFields": [
"mainPhone"
],
"predictionMode": "CLASSIFIER"
}
},
"entityTypes": [
"restaurant"
],
"name": "Restaurants",
"savedSearchId": "112002255",
"searchableFields": {
"builtin.entityType": {
"nlpFilter": true
},
"builtin.location": {
"nlpFilter": true
},
"c_promotingEvents.name": {
"nlpFilter": true
},
"name": {
"textSearch": true
}
},
"sortBys": [],
"source": "YEXT"
}
},
"synonyms": {
"oneWay": [
{
"phrase": "nest",
"synonyms": [
"restaurant"
]
}
],
"synonymSet": [
[
"location",
"restaurant",
"food joint",
"taco shop",
"eatery"
]
],
"normalization": []
},
"localizations": {},
"additionalSearchablePlaces": [],
"querySuggestions": {
"disablePopularQueries": false,
"verticalPromptsOnEmpty": false,
"popularQueriesBlacklistedTerms": [],
"popularQueriesBlacklistedRegex": [],
"universalPrompts": [
"Restaurants near me",
"Do you offer delivery?",
"Events",
"Do you sell gift cards?",
"Community Stories",
"Where to redeem gift cards?"
],
"verticalPrompts": {
"community_stories": [
"[[name]]"
],
"events": [
"[[name]]"
],
"faqs": [
"[[name]]"
],
"help_articles": [
"[[name]]"
],
"restaurants": [
"Restaurants near me",
"Restaurants in [[address.city]]"
]
}
}
}
Updating the Community Stories page
{
"verticalKey": "community_stories", // The vertical key from your search configuration
"pageTitle": "Community Stories Search", // !!!REPLACE THIS VALUE!!! The contents of the title tag and meta open graph tag for title
// "metaDescription": "", // The meta tag for open graph description
// "canonicalUrl": "", // The link tag for canonical URL as well as the meta tag for open graph url
// "keywords": "", // The meta tag for keywords
"pageSettings": {
"search": {
"verticalKey": "community_stories", // The vertical key from your search configuration
"defaultInitialSearch": "" // Enter a default search term
}
},
"componentSettings": {
/**
"QASubmission": {
"entityId": "", // Set the ID of the entity to use for Q&A submissions, must be of entity type "Organization"
"privacyPolicyUrl": "" // The fully qualified URL to the privacy policy
},
**/
/**
"Facets": {
"expand": false, // Allow the user to expand and collapse the facets
"showMore": false, // Display a link to see more facet options within a facet
"searchOnChange": true // Will automatically run a search as facets are selected or unselected. Set to false to only trigger updates with an Apply button.
// Additional options are available in the documentation
},
**/
/**
"FilterLink": {
"changeFiltersText": "sorts and filters", // Text that displays by default
"resetFiltersText": "reset filters", // Text when filters are applied
"clearSearchText": "clear search" // Text when there are no results, conducts an empty search
},
**/
/**
"DirectAnswer": {
"types": {
"FEATURED_SNIPPET": {
"cardType": "documentsearch-standard"
},
"FIELD_VALUE": {
"cardType": "allfields-standard"
}
}
},
**/
"AppliedFilters": {
"removable": true
},
"VerticalResults": {
"noResults": {
"displayAllResults": true // Optional, whether to display all results in the vertical when no results are found.
},
"hideResultsHeader": true
},
"SearchBar": {
"placeholderText": "Search", // The placeholder text in the answers search bar
"allowEmptySearch": true, // Allows users to submit an empty search in the searchbar
"loadingIndicator": {
"display": true //Optional, whether to include a loading indicator on seachbar
// "iconUrl": "" //Optional, use custom icon url instead of the default loading indicator animation
},
"voiceSearch": {
"enabled": false // Whether or not voice search is enabled
// "customMicIconUrl": "", // Path to override the voice start icon
// "customListeningIconUrl": "" // Path to override the voice stop icon
}
},
"Pagination": {
"noResults": {
"visible": true
}
}
},
// Configuration used to define the look and feel of the vertical, both on this page and, by default,
// on the universal page.
"verticalsToConfig": {
"community_stories": { // The vertical key from your search configuration
"label": "Community Stories", // The name of the vertical in the section header and the navigation bar
// "verticalLimit": 15, // The result count limit for vertical search
"universalLimit": 4, // The result count limit for universal search
"cardType": "communitystory", // The name of the card to use - e.g. accordion, location, customcard
// "icon": "star", // The icon to use on the card for this vertical
"universalSectionTemplate": "standard"
}
}
}
Updating the Help Articles page
{
"verticalKey": "help_articles", // The vertical key from your search configuration
"pageTitle": "Help Articles Search", // !!!REPLACE THIS VALUE!!! The contents of the title tag and meta open graph tag for title
// "metaDescription": "", // The meta tag for open graph description
// "canonicalUrl": "", // The link tag for canonical URL as well as the meta tag for open graph url
// "keywords": "", // The meta tag for keywords
"pageSettings": {
"search": {
"verticalKey": "help_articles", // The vertical key from your search configuration
"defaultInitialSearch": "" // Enter a default search term
}
},
"componentSettings": {
/**
"QASubmission": {
"entityId": "", // Set the ID of the entity to use for Q&A submissions, must be of entity type "Organization"
"privacyPolicyUrl": "" // The fully qualified URL to the privacy policy
},
**/
/**
"Facets": {
"expand": false, // Allow the user to expand and collapse the facets
"showMore": false, // Display a link to see more facet options within a facet
"searchOnChange": true // Will automatically run a search as facets are selected or unselected. Set to false to only trigger updates with an Apply button.
// Additional options are available in the documentation
},
**/
/**
"FilterLink": {
"changeFiltersText": "sorts and filters", // Text that displays by default
"resetFiltersText": "reset filters", // Text when filters are applied
"clearSearchText": "clear search" // Text when there are no results, conducts an empty search
},
**/
/**
"DirectAnswer": {
"types": {
"FEATURED_SNIPPET": {
"cardType": "documentsearch-standard"
},
"FIELD_VALUE": {
"cardType": "allfields-standard"
}
}
},
**/
"AppliedFilters": {
"removable": true
},
"VerticalResults": {
"noResults": {
"displayAllResults": true // Optional, whether to display all results in the vertical when no results are found.
},
"hideResultsHeader": true
},
"SearchBar": {
"placeholderText": "Search", // The placeholder text in the answers search bar
"allowEmptySearch": true, // Allows users to submit an empty search in the searchbar
"loadingIndicator": {
"display": true //Optional, whether to include a loading indicator on seachbar
// "iconUrl": "" //Optional, use custom icon url instead of the default loading indicator animation
},
"voiceSearch": {
"enabled": false // Whether or not voice search is enabled
// "customMicIconUrl": "", // Path to override the voice start icon
// "customListeningIconUrl": "" // Path to override the voice stop icon
}
},
"Pagination": {
"noResults": {
"visible": true
}
}
},
// Configuration used to define the look and feel of the vertical, both on this page and, by default,
// on the universal page.
"verticalsToConfig": {
"help_articles": { // The vertical key from your search configuration
"label": "Help Articles", // The name of the vertical in the section header and the navigation bar
// "verticalLimit": 15, // The result count limit for vertical search
"universalLimit": 4, // The result count limit for universal search
"cardType": "document-standard", // The name of the card to use - e.g. accordion, location, customcard
// "icon": "star", // The icon to use on the card for this vertical
"universalSectionTemplate": "standard"
}
}
}