Marks the entities associated with the given ids as blacklisted.
Marks the entities associated with the given ids as blacklisted.
Blacklisted entities don't appear in any result set.
the entity ids to blacklist.
the data source index or database name to query.
true, if all entities are successfully marked as blacklisted. False if at least one entity is not correct marked.
Changes the name of the entity corresponding to the given entity id.
Changes the name of the entity corresponding to the given entity id.
the entity id to change.
the new name to apply.
the data source index or database name to query.
true, if the operation was successful. False otherwise.
Changes the type of the entity corresponding to the given entity id.
Changes the type of the entity corresponding to the given entity id.
the entity id to change.
the new type to apply.
the data source index or database name to query.
true, if the operation was successful. False otherwise.
Returns all blacklisted entities for the underlying collection.
Returns all blacklisted entities for the underlying collection.
the data source index or database name to query.
a list of models.Entity, where each entity is marked as blacklisted.
Returns a list of models.Entity matching the given entity ids.
Returns a list of models.Entity matching the given entity ids.
a list of entity ids.
the data source index or database name to query.
a list of models.Entity corresponding to the given ids or scala.Nil if no matching entity is found.
Returns all entity occurrences for the given document including their position in the document.
Returns all entity occurrences for the given document including their position in the document.
the document id.
the data source index or database name to query.
a list of tuple consisting of an entity and its position in the document.
Returns all merged entities for the underlying collection.
Returns all merged entities for the underlying collection.
the data source index or database name to query.
a map linking from the focal entity to its duplicates.
Returns a list of distinct entity types in the underlying collection.
Merges multiple nodes in a given focal node.
Merges multiple nodes in a given focal node.
The duplicates don't appear in any result set anymore. Further, any entity-related search using the focal node as instance also queries for its duplicates i.e. searching for "Angela Merkel" will also search for "Angela" or "Dr. Merkel".
the central entity id.
entity ids referring to similar textual mentions of the focal id.
the data source index or database name to query.
true, if the operation was successful. False otherwise.
Removes the blacklisted mark from the entities associated with the given ids.
Removes the blacklisted mark from the entities associated with the given ids.
After executing this operation, the respective entities do appear in result sets again.
the entity ids to remove the blacklist mark from.
the data source index or database name to query.
true, if the blacklist mark is successfully removed from all entities. False if at least one blacklist mark for an entity is not correct removed.
Withdraws models.services.EntityService#merge for the given entity id.
Withdraws models.services.EntityService#merge for the given entity id.
the central entity ids.
the data source index or database name to query.
true, if the removal was successful. False otherwise.
Defines common data access methods for retrieving and manipulating models.Entity.
The trait is implemented by models.services.DBDocumentService.