@Test
    public void testRepeatedMatch() {
        // gap==1 caused by finding two possible segments due to repeated matching
        assertMetrics("fieldCompleteness:1 queryCompleteness:0.6667 segments:1 earliness:1 gaps:1",
                      "pizza hut pizza","pizza hut");
    }
Test cases where we choose between multiple different segmentations
searchlib/src/test/java/com/yahoo/searchlib/ranking/features/fieldmatch/test/FieldMatchMetricsTestCase.java