public class QueryNoticesResponse
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Field and Description |
---|---|
protected java.util.List<QueryAggregation> |
aggregations |
protected java.lang.Long |
duplicatesRemoved |
protected java.lang.Long |
matchingResults |
protected java.util.List<QueryPassages> |
passages |
protected java.util.List<QueryNoticesResult> |
results |
Constructor and Description |
---|
QueryNoticesResponse() |
Modifier and Type | Method and Description |
---|---|
java.util.List<QueryAggregation> |
getAggregations()
Gets the aggregations.
|
java.lang.Long |
getDuplicatesRemoved()
Gets the duplicatesRemoved.
|
java.lang.Long |
getMatchingResults()
Gets the matchingResults.
|
java.util.List<QueryPassages> |
getPassages()
Gets the passages.
|
java.util.List<QueryNoticesResult> |
getResults()
Gets the results.
|
@SerializedName(value="matching_results") protected java.lang.Long matchingResults
protected java.util.List<QueryNoticesResult> results
protected java.util.List<QueryAggregation> aggregations
protected java.util.List<QueryPassages> passages
@SerializedName(value="duplicates_removed") protected java.lang.Long duplicatesRemoved
public java.lang.Long getMatchingResults()
The number of matching results.
public java.util.List<QueryNoticesResult> getResults()
Array of document results that match the query.
public java.util.List<QueryAggregation> getAggregations()
Array of aggregation results that match the query.
public java.util.List<QueryPassages> getPassages()
Array of passage results that match the query.
public java.lang.Long getDuplicatesRemoved()
The number of duplicates removed from this notices query.