Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/warelab/gramene-solr
https://github.com/warelab/gramene-solr
database gramene gramene-search javascript nodejs solr
Last synced: 20 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/warelab/gramene-solr
- Owner: warelab
- License: apache-2.0
- Created: 2014-11-25T14:38:10.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2024-07-24T19:17:56.000Z (6 months ago)
- Last Synced: 2024-07-24T22:15:38.255Z (6 months ago)
- Topics: database, gramene, gramene-search, javascript, nodejs, solr
- Language: JavaScript
- Size: 260 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
convert mongo genes to solr genes
```
cd genes
node --max-old-space-size=8192 ./mongo2solr.js > solr_genes.json
```load into solr genes core
```
curl 'http://brie:8984/solr/genes55/update?commit=true' --data-binary @solr_genes.json -H 'Content-type:application/json'
```create suggestions
```
cd ../suggestions
node aux.js http://brie:8984/solr/genes55
node --max-old-space-size=8192 ./genes.js http://brie:8984/solr/genes55 > genes.json
```load into solr suggestions core
```
curl 'http://brie:8984/solr/suggestions55/update?commit=true' --data-binary @GO.json -H 'Content-type:application/json'
curl 'http://brie:8984/solr/suggestions55/update?commit=true' --data-binary @PO.json -H 'Content-type:application/json'
curl 'http://brie:8984/solr/suggestions55/update?commit=true' --data-binary @taxonomy.json -H 'Content-type:application/json'
curl 'http://brie:8984/solr/suggestions55/update?commit=true' --data-binary @domains.json -H 'Content-type:application/json'
curl 'http://brie:8984/solr/suggestions55/update?commit=true' --data-binary @pathways.json -H 'Content-type:application/json'
curl 'http://brie:8984/solr/suggestions55/update?commit=true' --data-binary @genes.json -H 'Content-type:application/json'
```