Package org.eclipse.rdf4j.sail.lucene
Interface SearchDocument
-
- All Known Implementing Classes:
ElasticsearchDocument,LuceneDocument,SolrSearchDocument
public interface SearchDocument
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddGeoProperty(String name, String value)voidaddProperty(String name)Adds/creates a new property with the given name.voidaddProperty(String name, String value)Adds a value to the property with the given name.StringgetContext()StringgetId()List<String>getProperty(String name)Collection<String>getPropertyNames()Returns a set of the property names.StringgetResource()booleanhasProperty(String name, String value)Checks whether a field occurs with a specified value in a Document.
-
-
-
Method Detail
-
getId
String getId()
-
getResource
String getResource()
-
getContext
String getContext()
-
getPropertyNames
Collection<String> getPropertyNames()
Returns a set of the property names.
-
addProperty
void addProperty(String name)
Adds/creates a new property with the given name.
-
addProperty
void addProperty(String name, String value)
Adds a value to the property with the given name.
-
hasProperty
boolean hasProperty(String name, String value)
Checks whether a field occurs with a specified value in a Document.
-
-