[indexer] Trigger only one time the install of search examples
@@ -39,9 +39,9 @@ def install_examples(request):
else:
try:
data = request.POST['data']
+ indexer_setup.Command().handle(data=data)
if 'log_analytics_demo' == data: # Hue documents installed only one time
search_setup.Command().handle_noargs()
- indexer_setup.Command().handle(data=data)
result['status'] = 0
except Exception, e:
LOG.exception(e)
