clojurewerkz.elastisch.rest.response

accepted?

(accepted? m)

acknowledged?

(acknowledged? m)

aggregation-from

(aggregation-from m name)
Return a single aggregation from a search response

aggregations-from

(aggregations-from m)
Returns aggregations from a search response

any-hits?

(any-hits? m)
Returns true if a response has any search hits, false otherwise

conflict?

(conflict? m)

count-from

(count-from m)
Returns total number of search hits from a response

created-or-acknowledged?

(created-or-acknowledged? m)

created?

(created? m)

facets-from

(facets-from m)
Returns facets information (overview and actual facets) from a response as a map. Keys in the map depend on
the facets query performed

found?

(found? m)

hits-from

(hits-from m)
Returns search hits from a response as a collection. To retrieve hits overview, get the :hits
key from the response

ids-from

(ids-from m)
Returns search hit ids from a response

matches-from

(matches-from m)
Returns matches from a percolation response as a collection.

no-hits?

not-found?

(not-found? m)

ok?

(ok? m)

timed-out?

(timed-out? m)

total-hits

(total-hits m)
Returns number of search hits from a response

valid?

(valid? m)
Returns true if a validation query response indicates valid query, false otherwise