UNPKG

@azure/search-documents

Version:

Azure client library to use Cognitive Search for node.js and browser.

14 lines 537 B
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. /** * Helper method to create a SynonymMap object. This is a NodeJS only method. * Will throw an error for browser. * * @param _name - Name of the SynonymMap. * @param _filePath - Path of the file that contains the Synonyms (seperated by new lines) * @returns SynonymMap object */ export async function createSynonymMapFromFile(_name, _filePath) { throw new Error("Not implemented for browser."); } //# sourceMappingURL=synonymMapHelper.browser.js.map