Skip to main content

The html_pages storage plugin for Orbis

Project description

HTML Pages Storage Plugin for Orbis

This plugin generates an HTML web page for each gold document with the corresponding results of the service.

screenshot

Show clustering

In order for the clusters to be displayed, the following element must be added to all dictionaries in the array returned in the aggregation step in the map_entities function.

from orbis_eval.core.base import AggregationBaseClass

class MyAggregation(AggregationBaseClass):

    def map_entities(self, response, item):
        result = []
        cluster_name = "name of cluster"
        result.append({
                ...,
                "annotations": [{"type": "Cluster", "entity": cluster_name}]
            })
        return result

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

orbis_plugin_storage_html_pages-2.3.1.tar.gz (81.9 kB view hashes)

Uploaded source

Built Distribution

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page