All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.senseidb.search.client.json.req.query.span.SpanOr Maven / Gradle / Ivy

package com.senseidb.search.client.json.req.query.span;

import java.util.List;

import com.senseidb.search.client.json.CustomJsonHandler;
import com.senseidb.search.client.json.req.query.Query;
import com.senseidb.search.client.json.req.query.QueryJsonHandler;

/**
 * 

* Matches the union of its span clauses. The span or query maps to Sensei * SpanOrQuery. Here is an example: *

* * *

* The clauses element is a list of one or more other span type * queries. *

* * */ @CustomJsonHandler(QueryJsonHandler.class) public class SpanOr implements Query { List clauses; private final Double boost; public SpanOr(List clauses, Double boost) { super(); this.clauses = clauses; SpanTerm.cleanBoosts(clauses); this.boost = boost; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy