Relforge has various support for running queries and calculating metrics over the results, augment it to support autocomplete as well.
- Support autocomplete type for runSearch.php
- Source queries for calculating MRR from eventlogging
- Pre-process queries to determine all the prefixes we need to search and only search each once. This might get a bit ugly, everything prior assumes the queries are a flat list and don't share any information.
- Implement MRR metric against autocomplete results