EarthSystemCoG / COG

COG source code
BSD 3-Clause "New" or "Revised" License
8 stars 16 forks source link

whitelist index nodes for several views #1439

Open sashakames opened 1 year ago

alaniwi commented 1 year ago

Just to confirm, I concur with the list of index nodes. I got the same from a search:

curl -s 'http://localhost:8983/solr/datasets/select?wt=json&indent=true&q=*:*&rows=0&facet=on&facet.field=index_node&shards=......'

where the shards parameter value is the same as seen in the JSON response to a query on the same index node, in our case:

shards=esgf-solr.ceda.ac.uk:8983/solr/datasets,esgf-solr.ceda.ac.uk:8996/solr/datasets,esgf-solr.ceda.ac.uk:8998/solr/datasets,esgf-solr.ceda.ac.uk:8999/solr/datasets,esgf-solr.ceda.ac.uk:9000/solr/datasets,esgf-solr.ceda.ac.uk:9001/solr/datasets,esgf-solr.ceda.ac.uk:9004/solr/dataset

Which then gave:

    "facet_fields":{
      "index_node":[
        "esg-dn1.nsc.liu.se",987705,
        "esgdata.gfdl.noaa.gov",27290,
        "esgf-data.dkrz.de",1343402,
        "esgf-node.ipsl.upmc.fr",1659990,
        "esgf-node.llnl.gov",8172440,
        "esgf.ceda.ac.uk",1228811,
        "esgf.nci.org.au",346644]},