Commit e73b8d26 authored by Oscar Araque's avatar Oscar Araque
Browse files

updated ES URL

parent 6f191bab
Pipeline #1777 passed with stages
in 13 seconds
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
console.log(err) console.log(err)
url = uri url = uri
} }
return 'http://sefarad-elasticsearch.cluster.gsi.dit.upm.es/gsicrawler/_search?q=@id:'+url; return 'http://sefarad-elasticsearch.gsi.upm.es/gsicrawler/_search?q=@id:'+url;
}, },
getHeadline: function(article){ getHeadline: function(article){
return article.hits[0]._source['schema:headline'] return article.hits[0]._source['schema:headline']
......
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
<app-location route="{{route}}"></app-location> <app-location route="{{route}}"></app-location>
<elastic-client <elastic-client
config='{"host": "http://sefarad-elasticsearch.cluster.gsi.dit.upm.es"}' config='{"host": "http://sefarad-elasticsearch.gsi.upm.es"}'
client="{{client}}" client="{{client}}"
cluster-status="{{myStatus}}"> cluster-status="{{myStatus}}">
</elastic-client> </elastic-client>
......
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
<app-location route="{{route}}"></app-location> <app-location route="{{route}}"></app-location>
<elastic-client <elastic-client
config='{"host": "http://sefarad-elasticsearch.cluster.gsi.dit.upm.es"}' config='{"host": "http://sefarad-elasticsearch.gsi.upm.es"}'
client="{{client}}" client="{{client}}"
cluster-status="{{myStatus}}"> cluster-status="{{myStatus}}">
</elastic-client> </elastic-client>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment