Edit: The problem is clicking on RESET after a schema query that results in a sample with 0 documents. This breaks Schema on my setup.
To replicate the problem:
- Go to ship.shipwrecks
- Do a geo search on schema/coordinates that produces 0 results (like somewhere in Russia)
- Click RESET
- Refresh Schema or go to the schema tab on another collection
Schema is giving 0 documents after clicking reset
I was working on Lab 1.7 when I (as a test) selected a geo search on Aruba and it gave me 0 results.
So then I clicked reset (on filter), but it still gave me 0 results.
I did some more tests and with all the datasets (like video.movies for example) it is no longer giving me results, stating:
“Query returned 0 documents. This report is based on a sample of 0 documents (0.00%).”
I returned to Compass after writing this post and it was working again.
I do the cancun query and again get 0 results.
And again with this and other datasets, schema is returning 0 documents (even though clearly the documents are there). Even after restarting and reinstalling the product.