| Constructor and Description |
|---|
TextIndexSolr(org.apache.solr.client.solrj.SolrServer server,
EntityDefinition def) |
| Modifier and Type | Method and Description |
|---|---|
void |
abortIndexing() |
void |
addEntity(Entity entity) |
void |
close() |
void |
finishIndexing() |
Map<String,com.hp.hpl.jena.graph.Node> |
get(String uri)
Get all entries for uri
|
EntityDefinition |
getDocDef() |
org.apache.solr.client.solrj.SolrServer |
getServer() |
List<com.hp.hpl.jena.graph.Node> |
query(String qs) |
List<com.hp.hpl.jena.graph.Node> |
query(String qs,
int limit)
Access the index - limit if -1 for as many as possible
|
void |
startIndexing() |
public TextIndexSolr(org.apache.solr.client.solrj.SolrServer server,
EntityDefinition def)
public void startIndexing()
startIndexing in interface TextIndexpublic void finishIndexing()
finishIndexing in interface TextIndexpublic void abortIndexing()
abortIndexing in interface TextIndexpublic void close()
close in interface org.apache.jena.atlas.lib.Closeablepublic Map<String,com.hp.hpl.jena.graph.Node> get(String uri)
TextIndexpublic List<com.hp.hpl.jena.graph.Node> query(String qs, int limit)
TextIndexpublic EntityDefinition getDocDef()
public org.apache.solr.client.solrj.SolrServer getServer()
Licenced under the Apache License, Version 2.0