public class ComplexAnnotationSolrDocumentLoader extends AbstractSolrLoader
graph, gson, server
Constructor and Description |
---|
ComplexAnnotationSolrDocumentLoader(String url,
OWLGraphWrapper g,
org.semanticweb.owlapi.reasoner.OWLReasoner r,
Set<org.semanticweb.owlapi.model.OWLNamedIndividual> individuals,
Set<org.semanticweb.owlapi.model.OWLAnnotation> modelAnnotations,
String agID,
String agLabel,
String agURL) |
Modifier and Type | Method and Description |
---|---|
org.apache.solr.common.SolrInputDocument |
collect_unit_info(LegoUnit u,
String groupID,
String groupLabel,
String groupURL,
OWLShuntGraph shuntGraph)
Take args and add it index (no commits)
Main wrapping for adding complex annotation documents to GOlr.
|
void |
load() |
add, addAll, addAllAndCommit, addFieldUnique, addLabelField, addLabelFields, addToServer, getGraph, incrementalAddAndCommit, setGraph
public ComplexAnnotationSolrDocumentLoader(String url, OWLGraphWrapper g, org.semanticweb.owlapi.reasoner.OWLReasoner r, Set<org.semanticweb.owlapi.model.OWLNamedIndividual> individuals, Set<org.semanticweb.owlapi.model.OWLAnnotation> modelAnnotations, String agID, String agLabel, String agURL) throws MalformedURLException
MalformedURLException
public void load() throws org.apache.solr.client.solrj.SolrServerException, IOException
load
in class AbstractSolrLoader
org.apache.solr.client.solrj.SolrServerException
IOException
public org.apache.solr.common.SolrInputDocument collect_unit_info(LegoUnit u, String groupID, String groupLabel, String groupURL, OWLShuntGraph shuntGraph)
ln
- groupLabel
- groupID
- shuntGraph
- ca_doc
- Copyright © 2010-2014. All Rights Reserved.