32

Is there a way to test the Azure Search in local development environment? Without actually connecting to Azure. That would work offline. I'm thinking of a something like the Azure Storage emulator.

Todd Menier
  • 37,557
  • 17
  • 150
  • 173
Sam7
  • 3,382
  • 2
  • 34
  • 57
  • 1
    There isn't. Interested in your scenario for this - offline development? Isolating for unit tests? Something else? Thanks! – Eugene Shvets Apr 29 '16 at 00:09
  • 4
    Speed & Cost are the main factors. Each developer has their own database etc, so they need their own search as well. But testing as mentioned is important, too. Generally: Not being dependent on an internet connection is a plus. – Sam7 Apr 29 '16 at 00:32
  • 3
    For isolation as far as unit tests are concerned, it's better to define a higher level search interface that makes sense for your app, and mock that. For giving each dev their own index, please vote for this [UserVoice suggestion](https://feedback.azure.com/forums/263029-azure-search/suggestions/6760966-provide-a-local-emulator-or-increase-the-number-of). Thanks! – Eugene Shvets Apr 29 '16 at 14:59
  • Thanks, I added my vote. – Sam7 May 02 '16 at 01:57
  • 2
    please vote for this feature here: https://feedback.azure.com/forums/263029-azure-search/suggestions/6760966-provide-a-local-emulator-or-increase-the-number-of – Lukas K Feb 19 '17 at 12:18

1 Answers1

3

There is a simulator published here - https://github.com/simonedeponti/AzureSearchEmulator which exposes REST APIs, which can help you test it on your local.

Mayur Dhingra
  • 1,527
  • 10
  • 27