Преглед изворни кода

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);