Package org.eclipse.rdf4j.sail.lucene
Interface SearchDocument
- All Known Implementing Classes:
ElasticsearchDocument
,LuceneDocument
,SolrSearchDocument
public interface SearchDocument
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addGeoProperty(String name, String value)
void
addProperty(String name)
Adds/creates a new property with the given name.void
addProperty(String name, String value)
Adds a value to the property with the given name.getId()
getProperty(String name)
Returns a set of the property names.boolean
hasProperty(String name, String value)
Checks whether a field occurs with a specified value in a Document.
-
Method Details
-
getId
String getId() -
getResource
String getResource() -
getContext
String getContext() -
getPropertyNames
Collection<String> getPropertyNames()Returns a set of the property names. -
addProperty
Adds/creates a new property with the given name. -
addProperty
Adds a value to the property with the given name. -
addGeoProperty
-
hasProperty
Checks whether a field occurs with a specified value in a Document. -
getProperty
-