Browse Source

HUE-8332 [indexer] Remove unused import Search that might fail if Solr is disabled

Romain Rigaux 7 years ago
parent
commit
a0abb902c6
1 changed files with 0 additions and 1 deletions
  1. 0 1
      desktop/libs/indexer/src/indexer/api.py

+ 0 - 1
desktop/libs/indexer/src/indexer/api.py

@@ -24,7 +24,6 @@ from django.utils.translation import ugettext as _
 
 
 from desktop.lib.django_util import JsonResponse
 from desktop.lib.django_util import JsonResponse
 from desktop.lib.exceptions_renderable import PopupException
 from desktop.lib.exceptions_renderable import PopupException
-from search.models import Collection
 
 
 from indexer.controller import CollectionManagerController
 from indexer.controller import CollectionManagerController
 from indexer.solr_client import SolrClient
 from indexer.solr_client import SolrClient