... | ... | @@ -6,16 +6,16 @@ Example: I open https://next.nomics.world/SCSMICH/MICS and it is "404 not found" |
|
|
|
|
|
- check it is indexed in Solr
|
|
|
- in production:
|
|
|
- `ssh -N -L 8983:localhost:8983 cepremap@dolos.nomics.world`
|
|
|
- `ssh -N -L 8983:localhost:8983 cepremap@dolos.nomics.world`
|
|
|
- for dev
|
|
|
- `ssh -N -L 8983:localhost:8983 cepremap@dev.nomics.world`
|
|
|
- `ssh -N -L 8983:localhost:8983 cepremap@dev.nomics.world`
|
|
|
- open http://localhost:8983/solr/dbnomics/query?q=type:dataset%20AND%20provider_code:SCSMICH%20AND%20code:MICS (the Solr query is more readable as `"type:dataset AND provider_code:SCSMICH AND code:MICS"`)
|
|
|
- if a JSON document is displayed, it's OK
|
|
|
- else
|
|
|
- try to index in *full mode* (not incremental mode):
|
|
|
- `FULL_MODE=1 ./import_storage_dir.sh ~/json-data fetcher_slug`
|
|
|
- `FULL_MODE=1 ./import_storage_dir.sh ~/json-data fetcher_slug`
|
|
|
- if it still doesn't works, you can have more verbose output by adding `bash -x` at the beginning of the line:
|
|
|
- `bash -x FULL_MODE=1 ./import_storage_dir.sh ~/json-data fetcher_slug`
|
|
|
- `bash -x FULL_MODE=1 ./import_storage_dir.sh ~/json-data fetcher_slug`
|
|
|
- You'll see the two commands of indexation, that are actually piped. Example:
|
|
|
```
|
|
|
Adding JSON documents to Solr index corresponding to new or modified datasets or series...
|
... | ... | |