- All Superinterfaces:
org.apache.jena.atlas.lib.Closeable
- All Known Implementing Classes:
TextIndexLucene
public interface TextIndex
extends org.apache.jena.atlas.lib.Closeable
TextIndex abstraction
-
Method Summary
Modifier and TypeMethodDescriptionvoidvoidcommit()voiddeleteEntity(Entity entity) Get all entries for urivoidquery(String subjectUri, List<org.apache.jena.rdf.model.Resource> props, String qs, String graphURI, String lang, int limit, String highlight) query(String subjectUri, org.apache.jena.graph.Node property, String qs, String graphURI, String lang, int limit, String highlight) query(List<org.apache.jena.rdf.model.Resource> props, String qs, String graphURI, String lang, int limit, String highlight) Access the index - limit if -1 for as many as possible Throw QueryParseException for syntax errors in the query string.query(org.apache.jena.graph.Node property, String qs, String graphURI, String lang, int limit, String highlight) query(org.apache.jena.graph.Node subj, List<org.apache.jena.rdf.model.Resource> props, String qs, String graphURI, String lang, int limit, String highlight) voidrollback()voidupdateEntity(Entity entity) Methods inherited from interface org.apache.jena.atlas.lib.Closeable
close
-
Method Details
-
prepareCommit
void prepareCommit() -
commit
void commit() -
rollback
void rollback() -
addEntity
-
updateEntity
-
deleteEntity
-
get
Get all entries for uri -
query
List<TextHit> query(org.apache.jena.graph.Node property, String qs, String graphURI, String lang, int limit) Access the index - limit if -1 for as many as possible Throw QueryParseException for syntax errors in the query string. -
query
-
query
-
query
-
query
-
query
-
query
-
getDocDef
EntityDefinition getDocDef()
-