er_evaluation.search#

Search Utilities#

Search tools to assist with data labeling and information retrieval.

The ElasticSearch class provides a simple interface to query specific fields of an elasticsearch API, with meaningful defaults. It also provides the option to aggregate results by a given ID field, which is useful to retrieve entity clusters based on matching entity mentions.

Classes#

ElasticSearch(base_url[, api_key])

ElasticSearch client for user-friendly search queries and aggregation.

Class Inheritance Diagram#

Inheritance diagram of er_evaluation.search.elasticsearch.ElasticSearch