owltools.cli
Class SolrCommandRunner
java.lang.Object
owltools.cli.CommandRunner
owltools.cli.GafCommandRunner
owltools.cli.TaxonCommandRunner
owltools.cli.SolrCommandRunner
- Direct Known Subclasses:
- SimCommandRunner
public class SolrCommandRunner
- extends TaxonCommandRunner
Solr/GOlr loading.
Methods inherited from class owltools.cli.CommandRunner |
exit, help, helpFooter, parseArgString, resolveClass, resolveEntity, resolveEntity, resolveEntityList, resolveObjectProperty, run, run, summarizeOntology |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SolrCommandRunner
public SolrCommandRunner()
setSolrUrl
public void setSolrUrl(CommandRunner.Opts opts)
- Set an optional Solr URL to use with Solr options so they don't have to
be specified separately for every option.
- Parameters:
opts
-
purgeSolr
public void purgeSolr(CommandRunner.Opts opts)
throws Exception
- Manually purge the index to try again.
Since this cascade is currently ordered, can be used to purge before we load.
- Parameters:
opts
-
- Throws:
Exception
loadOntologySolr
public void loadOntologySolr(CommandRunner.Opts opts)
throws Exception
- Used for loading whatever ontology stuff we have into GOlr.
- Parameters:
opts
-
- Throws:
Exception
flexLoadOntologySolr
public void flexLoadOntologySolr(CommandRunner.Opts opts)
throws Exception
- TODO: Try experimental flexible loader.
- Parameters:
opts
-
- Throws:
Exception
loadGafsSolr
public void loadGafsSolr(CommandRunner.Opts opts)
throws Exception
- Used for loading a list of GAFs into GOlr.
- Parameters:
opts
-
- Throws:
Exception
loadGafSolr
public void loadGafSolr(CommandRunner.Opts opts)
throws Exception
- Requires the --gaf argument (or something else that fills the gafdoc object).
- Parameters:
opts
-
- Throws:
Exception
Copyright © 2010-2012. All Rights Reserved.