owltools.solrj
Class OntologyGeneralSolrDocumentLoader
java.lang.Object
owltools.solrj.AbstractSolrLoader
owltools.solrj.OntologyGeneralSolrDocumentLoader
public class OntologyGeneralSolrDocumentLoader
- extends AbstractSolrLoader
A highly hard-wired class to specifically load the ontology graph into a set of hard-wired fields for the
AmiGO 2/GOlr general-config.yaml schema.
Method Summary |
org.apache.solr.common.SolrInputDocument |
collect(org.semanticweb.owlapi.model.OWLObject obj,
OWLGraphWrapper graph)
|
void |
load()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OntologyGeneralSolrDocumentLoader
public OntologyGeneralSolrDocumentLoader(String url,
OWLGraphWrapper graph)
throws MalformedURLException
- Throws:
MalformedURLException
load
public void load()
throws org.apache.solr.client.solrj.SolrServerException,
IOException
- Specified by:
load
in class AbstractSolrLoader
- Throws:
org.apache.solr.client.solrj.SolrServerException
IOException
collect
public org.apache.solr.common.SolrInputDocument collect(org.semanticweb.owlapi.model.OWLObject obj,
OWLGraphWrapper graph)
Copyright © 2010-2013. All Rights Reserved.