Skip to content

Commit

Permalink
upgraded solr to v5
Browse files Browse the repository at this point in the history
  • Loading branch information
simonjupp committed Aug 24, 2015
1 parent ce8448b commit 9b31bae
Show file tree
Hide file tree
Showing 59 changed files with 1,364 additions and 19,233 deletions.
16 changes: 8 additions & 8 deletions ols-apps/ols-solr-app/README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# OLS-SOLR
This module is a spring boot application for creating a SOLR index from a given ontology.

You need a local version of SOLR running, we are currently testing with version 4.10.3.
You need a local version of SOLR running, we are currently running with version 5.2.1.

Start SOLR in the example directory with the config supplied by this module

e.g.

java -Dsolr.solr.home=<PATH TO HERE>/ols/ols-solr/src/main/solr-conf -jar start.jar
solr-5.2.1/bin/solr -Dsolr.solr.home=<OLS INSTALL DIR>/ols/ols-solr/solr-5-config

You can also optionally set the -Dsolr.data.dir= to a location where the SOLR indexes will get created

Expand Down Expand Up @@ -44,20 +44,20 @@ definition_property http://purl.obolibrary.org/obo/IAO_0000115
synonym_property http://www.geneontology.org/formats/oboInOwl#hasExactSynonym
# experimental, can ignore for now
hierarchical_property http://purl.obolibrary.org/obo/BFO_0000050
#hierarchical_property http://purl.obolibrary.org/obo/BFO_0000050
# list any properties where you want to ignore assertions (can be annotation or object properties)
hidden_property
#hidden_property
# Base URIs that are local to this ontology, used to identify terms that are defined in this ontology.
base_uri http://purl.obolibrary.org/obo/UBERON_,http://purl.obolibrary.org/obo/UBPROP_,http://purl.obolibrary.org/obo/uberon/core#
# ignore this
isInferred false
# does this ontology need to be classified with a DL reasoner? default is ELK, if true we will classify with Hermit
# does this ontology need to be classified with a DL reasoner? if true HermiT will be used, otherwise Elk will be used
classify false
# if you don't want the ontology be classified by either ELK or Hermit, set isInferred to true
isInferred false
# True if the ontology contains OBO style slim annotations
oboSlims true
```
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,7 @@ public void run(String... args) throws Exception {

System.setProperty("entityExpansionLimit", "10000000");
OntologyLoader loader = propertyBasedLoadingService.getLoader();
// if (args != null) {
// if (args[0].equals("dropall")) {
// solrIndexingService.dropIndex(loader);
// }
// }
solrIndexingService.dropIndex(loader);
solrIndexingService.createIndex(loader);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ hidden_property http://www.ebi.ac.uk/ols/test1.owl/TEST_0000013
base_uri http://www.ebi.ac.uk/ols/test1.owl/TEST_
isInferred false
classify false
oboSlims false
oboSlims false
86 changes: 0 additions & 86 deletions ols-interfaces/ols-ui/pom.xml

This file was deleted.

Loading

0 comments on commit 9b31bae

Please sign in to comment.