https://github.com/warelab/gramene-solr
https://github.com/warelab/gramene-solr
database gramene gramene-search javascript nodejs solr
Last synced: about 1 month 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 (over 11 years ago)
- Default Branch: master
- Last Pushed: 2025-06-03T16:34:34.000Z (about 1 year ago)
- Last Synced: 2025-06-04T02:08:47.820Z (about 1 year ago)
- Topics: database, gramene, gramene-search, javascript, nodejs, solr
- Language: JavaScript
- Size: 282 KB
- Stars: 0
- Watchers: 2
- 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'
```