Span_first and array of strings

Hi,

I have an array of strings to which I'd like to apply the span_first query. Unfortunately, due to position_increment_gap this seems to be quite hard to accomplish. Is there an alternative way to do this?

An example can be found at https://www.found.no/play/gist/5f69f3eea73502a78d407764f7dbb23b