|
Class |
Description |
|---|---|
|
Provides methods for executing searches, submitting questions, and performing autocompletes. | |
|
Represents an error | |
|
Provides the functionality for interacting with a Search experience. |
|
Enumeration |
Description |
|---|---|
|
Represents the type of AppliedQueryFilter applied to a search. | |
|
Possible built-in field types for DirectAnswer.fieldType. | |
|
Defines the cloud choice of the API domains. | |
|
Defines the cloud region of the API domains. | |
|
Represents the type of direct answer. | |
|
The direction of a sort. | |
|
Defines the environment of the API domains. | |
|
Identifier for the type of error causing the failure. | |
|
Indicates how child filters in a StaticFilter should be combined. | |
|
The method used to determine the location. | |
|
A Matcher is a filtering operation. | |
|
The source of the search request. | |
|
Describes the ways a search can be executed besides user input. | |
|
Represents intents from the Search API. | |
|
An enum which indicates the type of search that Headless is managing. | |
|
The method of sorting. | |
|
Represents the source of a Result. | |
|
Represents the type of spell check performed. |
|
Function |
Description |
|---|---|
|
Creates a StaticFilter by applying the specified FilterCombinator to the two static filters. Throws an error if an attempt is made to combine a conjunction static filter using FilterCombinator.OR. | |
|
Creates a StaticFilter that matches all results where the given field value falls in a specific Date BoundedRange. | |
|
Creates a FieldValueStaticFilter that ensures all results will match a specific field value. | |
|
Creates a FieldValueStaticFilter that matches all results within a certain radius of the given position. | |
|
Creates a StaticFilter that matches all results where the given field value falls in a specific number BoundedRange. | |
|
Supplies a new instance of SearchHeadless, using the provided configuration. |
|
Interface |
Description |
|---|---|
|
AdditionalHttpHeaders allows users to specify additional values for specific HTTP headers. | |
|
An interface with address fields to use in BaseFieldValueDirectAnswer.value. | |
|
A BaseFieldValueDirectAnswer interface with 'address' field type. | |
|
Represents all results for the current vertical. | |
|
A direct answer for an android app url field. | |
|
A filter that the Search API applied to the search. | |
|
The response of a universal or vertical autocomplete request. | |
|
An autocomplete suggestion. | |
|
A service for autocomplete requests. | |
|
A direct answer which was found within a document. | |
|
A direct answer where the answer came from a field from the knowledge graph. | |
|
The base configuration options for SearchCore, which includes the options from ServingConfig. | |
|
An interface representing a range of values of type T. | |
|
Additional agents and their versions used to create the Search experience. The information for these agents is added to the Client-SDK HTTP header along with that of the ANSWERS_CORE agent. | |
|
The shape of a BuiltInFieldType.ComplexURL DirectAnswer value | |
|
A direct answer for a complex url field. | |
|
A static filter composed by combining other static filters with the logical AND operator. | |
|
An interface for a day's hours to use in BaseFieldValueDirectAnswer.value. | |
|
A direct answer for a decimal field, which is a number represented using a string. | |
|
A direct answer to a search. | |
|
Maintains the direct answer associated with the latest search. | |
|
A static filter composed by combining filters with the logical OR operator. The combined filters can either be field value filters or other disjunction filters. | |
|
A Facet which contains extra fields meant to be displayed to the end user. | |
|
A FacetOption with extra data meant to be displayed to the end user. | |
|
Details about the document and the document search algorithm | |
|
A BaseFieldValueDirectAnswer interface with 'email' field type. | |
|
Overrides for the URLs which are used when making requests to the Search API. | |
|
A direct answer for a facebook url field. | |
|
Represents dynamic filter options for the Search API. | |
|
A filter associated with the facet. | |
|
Error information from when a vertical fails to return results. | |
|
Represents a filter which compares values to a single field. | |
|
A FieldValueFilter with the kind of filter specified to discriminate between static filter types. | |
|
Options for a filtersearch request. | |
|
The response of a filtersearch request. | |
|
Maintains the current state of facets and filters in the application. | |
|
Options which can be specified for a generative direct answer request. | |
|
A representation of a generative direct answer response. | |
|
A service for generative direct answer requests. | |
|
Maintains the data for the latest generative direct answer. | |
|
A field value and its substring matches as emphasized by the Search API. | |
|
An interface for holiday hours to use in BaseFieldValueDirectAnswer.value. | |
|
An interface for hours fields to use in BaseFieldValueDirectAnswer.value. | |
|
A BaseFieldValueDirectAnswer interface with 'hours' field type. | |
|
A BaseFeaturedSnippetDirectAnswer with 'html' field type. "value" field is omitted for featured snippet direct answer of this field type. | |
|
A direct answer for an instagram handle field. | |
|
A direct answer for an integer field. | |
|
An interface for a time interval to use in BaseFieldValueDirectAnswer.value. | |
|
A direct answer for an iOS app url field. | |
|
The latitude and longitude of the user making the request. Used to bias the results. | |
|
Information about the user's location. | |
|
Location boundaries for a filter with "Place" for its AppliedQueryFilterType. (e.g. boundary for a locality or region specific location filter) | |
|
Additional details relevant to the filter with "PLACE" for its AppliedQueryFilterType. | |
|
Maintains the user's location, if given, or the inferred location, that is used to bias search results. | |
|
The start limit of NumberRangeValue. | |
|
A BaseFeaturedSnippetDirectAnswer with 'markdown' field type. "value" field is omitted for featured snippet direct answer of this field type. | |
|
Maintains the metadata for Search Headless. | |
|
A BaseFeaturedSnippetDirectAnswer with 'multi_line_text' field type. | |
|
A filter value for a filter with a $near Matcher. | |
|
A filter value for a filter with a $between Matcher. | |
|
The overall shape of the redux state tree, with each key value pair of headlessId to State representing a single SearchHeadless instance. | |
|
A BaseFieldValueDirectAnswer interface with phone value. | |
|
Data returned from the Search query rules system. | |
|
Maintains the data from the triggered query rules. | |
|
Maintains the latest query and its associated data. | |
|
Options for a QuestionSubmission request. | |
|
A representation of a question submission response. | |
|
Submits a custom question to the Search API. | |
|
A boundary for a BoundedRange of type T. | |
|
An individual search result. | |
|
A direct answer for a rich text field. | |
|
A BaseFeaturedSnippetDirectAnswer with 'rich_text' field type. "value" field is omitted for featured snippet direct answer of this field type. | |
|
A BaseFeaturedSnippetDirectAnswer with 'rich_text_v2' field type. "value" field is omitted for featured snippet direct answer of this field type. | |
|
Configuration options for SearchCore, which includes the options from BaseSearchConfig, but requires apiKey. | |
|
Configuration options for SearchCore, which includes the options from BaseSearchConfig, but requires token. | |
|
Indicates which entity field to perform the autocomplete request on. | |
|
Options for a Search API request. | |
|
A service which performs Yext Search. | |
|
Maintains the status of the latest search. | |
|
A result produced by a document vertical. | |
|
A StaticFilter with additional information, such as an optional display name and whether or not it is selected. | |
|
The configuration options for getting the endpoints. | |
|
Maintains whether the user session should be tracked and, if so, the session information. | |
|
The section of text where a FeaturedSnippetDirectAnswer was found. | |
|
Represents a criterion that can be used to sort results. | |
|
A spellcheck response from a search query. | |
|
Maintains whether spellcheck is enabled and the spellcheck response from the latest search. | |
|
The state representing a SearchHeadless instance. | |
|
Represents a listener for a specific value of type T in the state. | |
|
Manages the information contained in the state for a SearchHeadless instance. | |
|
A direct answer whose source is a string or string list field in the knowledge graph. | |
|
A direct answer for an twitter handle field. | |
|
Options for a universal autocomplete request. | |
|
The maximum limit of results per vertical. Each limit can be set from 1-50, inclusive. | |
|
Options which can be specified for a universal search. | |
|
A representation of a response from a universal search. | |
|
Maintains the data for the latest universal search. | |
|
A BaseFieldValueDirectAnswer with a field type outside of BuiltInFieldType. | |
|
The end limit of NumberRangeValue. | |
|
A direct answer for a simple url field. | |
|
Options for a vertial autocomplete request. | |
|
Represents results from a search vertical. | |
|
Options which can be specified for a vertical search. | |
|
A representation of a response from a vertical search. | |
|
Maintains the data for the latest vertical search. | |
|
Information used to associate requests with a particular user. |
|
Namespace |
Description |
|---|---|
|
Variable |
Description |
|---|---|
|
The headlessId automatically given to the first SearchHeadless instance created. | |
|
The endpoints to use for sandbox experiences. |
|
Type Alias |
Description |
|---|---|
|
Used to trigger Search Query Rules. | |
|
Produces a union type from the enum passed as a generic which consists of the enum values and the string literals of the enum. | |
|
All possible built-in BaseFeaturedSnippetDirectAnswer interfaces. | |
|
Possible built-in and custom BaseFieldValueDirectAnswer interfaces. | |
|
The configuration for a SearchHeadless instance. | |
|
A mapping of fields to the values emphasized by the Search API. | |
|
The main configuration options for SearchCore. For a full description of the options, see BaseSearchConfig. The config requires either an apiKey or a token. | |
|
An enum and its corresponding string literals which indicate the type of search that Headless is managing. | |
|
Represents a static filter that will be used to refine results. |