Fairsearch Plugin for Elasticsearch¶
The Fairsearch plug-in for Elasticsearch is an implementation of the FA*IR algorithm. It enables you to apply a positive action policy in which elements are re-ranked to ensure a fair representation of minorities or disadvantaged people.
This plugin has been developed by Pere Urbón in collaboration with researchers at TU Berlin and Pompeu Fabra University, with support from a grant by the Data Transparency Lab.
Get started¶
- Check whether this plug-in is for you: The Theory, The Plugin
- Understand the fairness criterion applied: The Theory
- Use the plug-in to perform a re-ranking: How to use the fair-search plugin
- Advance usage, like build an M table: Advance usage
Installing¶
Pre-built versions can be found here. Want a build for an ES version? Follow the instructions in the README for building or create an issue. Once you’ve found a version compatible with your Elasticsearch, you’d run a command such as:
./bin/elasticsearch-plugin install https://fair-search.github.io/fair-reranker/fairsearch-1.0-es6.1.2-SNAPSHOT.zip
(It’s expected you’ll confirm some security exceptions, you can pass -b to elasticsearch-plugin to automatically install)