Code Monkey home page Code Monkey logo

qnamakerbackuprestore's Introduction

QnAMakerBackupRestore

Backup and restore your Azure search index which is part of the QnAMaker runtime

Since Azure search does not have an in-place SKU upgrade, to upgrade your QnAMaker stack you can use this code to restore your knowledge base data to the upgraded Azure search SKU.

See here for more details.

Basic usage

Open the solution '\AzureSearchBackupRestore\QnAMakerAzureSearchBackupRestore.sln' in VS2017 Change the source and target in \AzureSearchBackupRestore\Program.cs to your source and target search service's Run the program from VS2017

Example change

private static string SourceSearchServiceName = "searchservicewestus-asnb6mhgpkm25xc";
private static string SourceAPIKey = "<32 hex chars>";
private static string TargetSearchServiceName = "searchserviceeastus-xnnb3mhgpkm77gb";
private static string TargetAPIKey = "<32 hex chars>";

Source and Target API Key refer to the Search Service keys in the Azure portal

The SourceSearchServiceName and TargetSearchServiceName refer to Search Service URL minus the protocol and .search.windows.net. The above example Source would be represented by https://searchservicewestus-asnb6mhgpkm25xc.search.windows.net

qnamakerbackuprestore's People

Contributors

ganrad avatar hansmbakker avatar pchoudhari avatar sam-rowe avatar somigithub avatar vineetms avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

qnamakerbackuprestore's Issues

How do you "attach" the indexes to a QnA Maker Runtime?

There's a comment at the top of the code that says

Once done you can attach it to the QnAMaker runtime.

However, there is no further information on how to accomplish that. I don't see anything in Microsoft's documentation on doing so, either. As it stands, this application copies the search index data without doing whatever is necessary to activate the copied data in the QNA Maker instance.

Exception synonymMap

Hi,

I have this following exeption: 'Search request failed: {"error":{"code":"","message":"No synonymMap with the name 'synonym-map' was found in a service named 'xyz-as-s1'."}}'

How to resolve this bug ?

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.