A
- the actual type of AmetysObject
s.public interface SearchResults<A extends AmetysObject>
Modifier and Type | Method and Description |
---|---|
Optional<Map<String,Object>> |
getDebugMap()
Gets the response debug map if available
|
Map<String,Map<String,Integer>> |
getFacetResults()
Get the facet results as a Map, indexed by faceted criterion ID.
The Map values are represented by a Map of value -> result count. |
float |
getMaxScore()
Get the maximum score of all the results.
|
Iterable<String> |
getObjectIds()
Get the result IDs.
|
AmetysObjectIterable<A> |
getObjects()
Get the
AmetysObject results |
SearchResultsIterable<SearchResult<A>> |
getResults()
Get the
Iterable of the search results. |
long |
getTotalCount()
Get the total number of search results.
|
SearchResultsIterable<SearchResult<A>> getResults()
Iterable
of the search results.SearchResultsIterable
on the SearchResult
.AmetysObjectIterable<A> getObjects()
AmetysObject
resultsAmetysObjectIterable
on the results.Iterable<String> getObjectIds()
Iterable
on the content IDs.Map<String,Map<String,Integer>> getFacetResults()
long getTotalCount()
float getMaxScore()
Optional<Map<String,Object>> getDebugMap()