Commit db6d2367 authored by J. Fernando Sánchez's avatar J. Fernando Sánchez
Browse files

cleaning up

parent a7996c09
......@@ -30,3 +30,14 @@ Senpy: This analysis service demo is available on http://localhost:5000/
Somedi dashboard: This visualization demo environment provides a dashboard for Somedi project and is available on http://localhost:8080.
Orchestrator: Luigi provides a web interface to check your workflows status on http://localhost:8082
Troubleshooting
===============
Elasticsearch may crash on startup and complain about vm.max_heap_count.
This will solve it temporarily, until the next boot:
```
sudo sysctl -w vm.max_map_count=262144
```
v0.0.3-dirty
......@@ -40,10 +40,10 @@ services:
- sefarad-network
gsicrawler:
build: .
build: ./gsicrawler/
image: registry.cluster.gsi.dit.upm.es/sefarad/dashboard-somedi/gsicrawler
volumes:
- .:/usr/src/app
- ./gsicrawler/:/usr/src/app
ports:
- "8082:8082"
networks:
......
curl -X POST "http://localhost:9200/reddit/comment,article/_search?pretty" -H 'Content-Type: application/json' -d @- <<EOF
{
"aggs": {
"type": {
"terms": {
"field": "_type",
"order": {
"_count": "desc"
}
}
},
"comments": {
"filter": {"term": {"_type": "comment"}},
"subreddit": {
"terms": {
"field": "subreddit",
"order": {
"_count": "desc"
}
}
}
},
"subreddit": {
"terms": {
"field": "subreddit",
"order": {
"_count": "desc"
}
}
}
}
}
EOF
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