Project

General

Profile

« Previous | Next » 

Revision 39462

Changed implementation of DLI Parser

View differences:

DLI.py
25 25
app.debug = True
26 26
app.json_encoder = MyJSONEncoder
27 27

  
28
host = "http://node0.d.dli.research-infrastructures.eu:8983/solr/DLIF-index-cleaned_shard1_replica1"
28
host = "http://146.48.87.96:8983/solr/DLIF-index-cleaned_shard1_replica1"
29 29

  
30 30

  
31 31
# q = QueryResolver("http://localhost:8983/solr/DLIF-index-cleaned_shard1_replica1")
......
72 72
    q = QueryResolver(host)
73 73
    return jsonify(stats=q.get_stats())
74 74

  
75

  
75 76
@app.route('/api/stats_detail/', methods=['post', 'get'])
76 77
def stats_detail():
77 78
    q = QueryResolver(host)

Also available in: Unified diff