Mercurial > hg > LGDataverses
comparison scripts/search/query @ 10:a50cf11e5178
Rewrite LGDataverse completely upgrading to dataverse4.0
| author | Zoe Hong <zhong@mpiwg-berlin.mpg.de> |
|---|---|
| date | Tue, 08 Sep 2015 17:00:21 +0200 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 9:5926d6419569 | 10:a50cf11e5178 |
|---|---|
| 1 #!/bin/sh | |
| 2 curl 'http://localhost:8983/solr/collection1/select?rows=1000000&wt=json&indent=true&q=*%3A*' | |
| 3 # show combination of public stuff OR pete's private stuff | |
| 4 # curl -s --globoff 'http://localhost:8983/solr/collection1/select?rows=100&wt=json&indent=true&q=*&fq=({!join+from=groups_s+to=perms_ss}id:group_public+OR+{!join+from=groups_s+to=perms_ss}id:group_user2)' | jq '.response.docs[] | {name_sort}' | |
| 5 # https://github.com/IQSS/dataverse/issues/1262 | |
| 6 # curl 'http://localhost:8983/solr/collection1/select?rows=1000000&wt=json&indent=true&hl=true&hl.fl=*&q=wright&hl.snippets=10' | |
| 7 # remember elasticsearch? :) | |
| 8 #curl 'http://localhost:9200/_search?pretty=true&q=*' |
