|
|
@@ -25,6 +25,7 @@ from django.utils.translation import ugettext as _
|
|
|
from desktop.lib.exceptions_renderable import PopupException
|
|
|
from desktop.lib.i18n import smart_str
|
|
|
from indexer.conf import CORE_INSTANCE_DIR
|
|
|
+from indexer.controller import get_solr_ensemble
|
|
|
from indexer.utils import copy_configs
|
|
|
from libsolr.api import SolrApi
|
|
|
from libsentry.conf import is_enabled
|
|
|
@@ -40,10 +41,6 @@ FLAGS = [('I', 'indexed'), ('T', 'tokenized'), ('S', 'stored'), ('M', 'multivalu
|
|
|
ZK_SOLR_CONFIG_NAMESPACE = 'configs'
|
|
|
|
|
|
|
|
|
-def get_solr_ensemble():
|
|
|
- return '%s/solr' % ENSEMBLE.get()
|
|
|
-
|
|
|
-
|
|
|
class IndexControllerException(Exception):
|
|
|
pass
|
|
|
|