Преглед на файлове

HUE-7497 [indexer] Fix the checking of an existing index or not while indexing

Romain Rigaux преди 8 години
родител
ревизия
0e600b3
променени са 1 файла, в които са добавени 2 реда и са изтрити 3 реда
  1. 2 3
      desktop/libs/indexer/src/indexer/templates/importer.mako

+ 2 - 3
desktop/libs/indexer/src/indexer/templates/importer.mako

@@ -1509,9 +1509,8 @@ ${ assist.assistPanel() }
           }
         }
         else if (self.outputFormat() == 'index') {
-          $.post("/search/get_collection", {
-              name: self.name(),
-              engine: 'solr'
+          $.post("${ url('indexer:list_index') }", {
+              name: self.name()
           }, function (data) {
             self.isTargetExisting(data.status == 0);
             self.isTargetChecking(false);