@TestInfo(testType=SYSTEM)
public void testPromotion() throws IOException, ParseException,InterruptedException {
indexTwelveDocs(this.indexEngine.getIndexer());
DocumentSearcher searcher = this.indexEngine.getSearcher();
BoostingIndexer indexer = this.indexEngine.getIndexer();
indexer.promoteResult("doc_6", "fixed");
checkResults(searcher,0,1,new int[]{6});
checkResults(searcher,0,5,new int[]{0,1,2,3,6});
checkResults(searcher,5,5,new int[]{4,5,7,8,9});
checkResults(searcher,10,5,new int[]{10,11});
indexer.promoteResult("doc_10", "fixed");
checkResults(searcher,10,5,new int[]{9,11});
}