Closed mtholder closed 10 years ago
Right. I think oti is set up not to index studies that have no trees. But we clearly should be doing that.
Ok. Requirement removed.
curl -X POST -H "Content-Type":"application/json" -H "Accept":"application/json" http://devapi.opentreeoflife.org/oti/ext/IndexServices/graphdb/indexNexsons --data '{"urls" ["http://ot10.opentreeoflife.org/api/v1/study/pg_561.nexson?output_nexml2json=0.0.0"]}'
{
"errors" : {
},
"indexed" : [ "561" ]
}
I'm trying to get the index on oti up to date, but some of the studies won't index. The first one I looked at is nearly empty, but it does has biblio data. So I thought that it should be in the index. My call:
the response is:
and the study does not appear in the response to a subsequent http://ot10.opentreeoflife.org/oti/ext/QueryServices/graphdb/findAllStudies call.