The rule expands the search to all equivalent terms or phrases. ExamplesĮxample: List of synonyms with equivalent and explicit mappings.Īn equivalent mapping rule lists equivalent terms or phrases separated with commas ("USA, United States, United States of America"). An example in the next section illustrates the syntax.įor a successful request: 201 Created. Properties of accessCredentials include applicationId (Azure Active Directory Application ID that was granted access permissions to your specified Azure Key Vault), and applicationSecret (authentication key of the specified Azure AD application). Optionally, you can specify accessCredentials if you aren't using a managed system identity. An encryptionKey section contains a user-defined keyVaultKeyName (required), a system-generated keyVaultKeyVersion (required), and a keyVaultUri providing the key (required, also referred to as DNS name). Available for billable search services created on or after. Used to encrypt a synonym map, with your own keys, managed in your Azure Key Vault. Synonym rules separated by the new line ('\n') character. Only Apache Solr format ( solr) is currently supported. A synonym map name must only contain lowercase letters, digits or dashes, can't start or end with dashes and is limited to 128 characters. Request contains the following properties: Property The following JSON is a high-level representation of the main parts of the definition. The body of the request contains a synonym map definition, which includes the format of the synonym map and the list of rules in the specified format. See Connect to Cognitive Search using key authentication for details. Create requests must include an api-key header set to your admin key (as opposed to a query key). An api-key is a unique, system-generated string that authenticates the request to your search service. ![]() Optional if you're using Azure roles and a bearer token is provided on the request, otherwise a key is required. The following table describes the required and optional request headers. The current stable version is api-version=. ![]() After starting the name with a letter or number, the rest of the name can include any letter, number and dashes, as long as the dashes aren't consecutive. ![]() The name must be lower case, start with a letter or number, have no slashes or dots, and be fewer than 128 characters. Set this to the unique, user-defined name of your search service. For more information, see Service limits. The maximum number of synonym maps that you can create varies by pricing tier.
0 Comments
Leave a Reply. |