class Elasticsearch::DSL::Search::Queries::SpanOr

A query which returns documents matching the union of provided queries

@example

search do
  query do
    span_or clauses: [ { span_term: { title: 'disaster' } }, { span_term: { title: 'health' } } ]
  end
end

@see www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-span-or-query.html @see lucene.apache.org/core/5_0_0/core/org/apache/lucene/search/spans/package-summary.html