Uses of Interface
org.eclipse.rdf4j.sail.lucene.SearchDocument
-
Packages that use SearchDocument Package Description org.eclipse.rdf4j.sail.lucene A Sail implementation that supports full-text indexing via the Lucene API. -
-
Uses of SearchDocument in org.eclipse.rdf4j.sail.lucene
Fields in org.eclipse.rdf4j.sail.lucene declared as SearchDocument Modifier and Type Field Description private SearchDocumentPropertyCache. docMethods in org.eclipse.rdf4j.sail.lucene that return SearchDocument Modifier and Type Method Description protected abstract SearchDocumentAbstractSearchIndex. copyDocument(SearchDocument doc)protected abstract SearchDocumentAbstractSearchIndex. getDocument(java.lang.String id)SearchDocumentDocumentResult. getDocument()Returns null if the document no longer exists.protected abstract SearchDocumentAbstractSearchIndex. newDocument(java.lang.String id, java.lang.String resourceId, java.lang.String context)Methods in org.eclipse.rdf4j.sail.lucene that return types with arguments of type SearchDocument Modifier and Type Method Description protected abstract java.lang.Iterable<? extends SearchDocument>AbstractSearchIndex. getDocuments(java.lang.String resourceId)Methods in org.eclipse.rdf4j.sail.lucene with parameters of type SearchDocument Modifier and Type Method Description voidBulkUpdater. add(SearchDocument doc)voidSimpleBulkUpdater. add(SearchDocument doc)protected abstract voidAbstractSearchIndex. addDocument(SearchDocument doc)private voidAbstractSearchIndex. addProperty(java.lang.String field, java.lang.String value, SearchDocument document)private voidAbstractSearchIndex. addProperty(Statement statement, SearchDocument document)check if the passed statement should be added (is it indexed? is it stored?) and add it as predicate to the passed document.protected abstract SearchDocumentAbstractSearchIndex. copyDocument(SearchDocument doc)private booleanAbstractSearchIndex. copyDocument(SearchDocument newDocument, SearchDocument document, java.util.Map<java.lang.String,java.util.Set<java.lang.String>> removedProperties)Creates a copy of the old document; updating the retrieved Document instance works ok for stored properties but indexed data gets lost when doing an IndexWriter.updateDocument with it.private static intAbstractSearchIndex. countPropertyValues(SearchDocument document)voidBulkUpdater. delete(SearchDocument doc)voidSimpleBulkUpdater. delete(SearchDocument doc)protected abstract voidAbstractSearchIndex. deleteDocument(SearchDocument doc)protected ResourceAbstractSearchIndex. getResource(SearchDocument document)Returns the Resource corresponding with the specified Document.voidBulkUpdater. update(SearchDocument doc)voidSimpleBulkUpdater. update(SearchDocument doc)protected abstract voidAbstractSearchIndex. updateDocument(SearchDocument doc)Constructors in org.eclipse.rdf4j.sail.lucene with parameters of type SearchDocument Constructor Description PropertyCache(SearchDocument doc)
-