Closed rsignell-usgs closed 7 years ago
This is related to https://github.com/ioos/catalog-ckan/issues/143 Over time the search database, solr, becomes out of sync with the actual relational database (PostGIS) and needs to be synchronized manually, which is on my to-do list in the near term. I hope to get to it today.
When you search in CKAN it's querying solr. When you query in CSW, it looks at the database.
@rsignell-usgs is this still an issue at this point? Do the counts still not match?
There will probably always be slight inconsistency between CKAN/Solr search results and pycsw because they are totally separate.
But we do need to better automate the update of Solr search index ioos/catalog-ckan#143.
Today I get 36 results from CKAN, 28 results from CSW.
@rsignell-usgs I think there may always be differences in the search results of the CKAN Solr index and the pycsw db, but are you in favor of doing further investigation of this? Or can we close the issue? Can you do a quick test of your notebook count again today?
Looks like we're up to 38 datasets in CKAN currently.
I'm going to close this one as it's unlikely we'll make a change to resolve this.
I get 35 results with CKAN: https://data.ioos.us/dataset?q=ROMS&res_format=WMS
I get 26 results with CSW: http://nbviewer.jupyter.org/gist/rsignell-usgs/48014c3c0617c47e0457dbc6898856cb?flush_cache=True (see
numberOfRecordsMatched
in cell [3] output)Why?