unordered

fun unordered(vararg subSources: IntervalsSource): IntervalsSource

Create an unordered IntervalsSource. Note that if there are multiple intervals ends at the same position are eligible, only the narrowest one will be returned. For example if asking for unordered(term("apple"), term("banana")) on field of "apple wolf apple orange banana", only the "apple orange banana" will be returned.

Returns intervals in which all the subsources appear. The subsources may overlap

Parameters

subSources

an unordered set of IntervalsSources