A - the actual type of AmetysObjects.@Deprecated public class ContentSearchResults<A extends AmetysObject> extends Object implements SearchResults<A>
| Modifier and Type | Class and Description | 
|---|---|
(package private) class  | 
ContentSearchResults.IdSearchResultsIterable
Deprecated.  
  | 
(package private) class  | 
ContentSearchResults.SearchResultsIteratorWrapper
Deprecated.  
  | 
(package private) class  | 
ContentSearchResults.SearchResultWrapper
Deprecated.  
  | 
| Modifier and Type | Field and Description | 
|---|---|
private List<String> | 
_objectIds
Deprecated.  
The list of object ids. 
 | 
private AmetysObjectResolver | 
_resolver
Deprecated.  
The AmetysObject resolver. 
 | 
| Constructor and Description | 
|---|
ContentSearchResults(AmetysObjectResolver resolver,
                    Collection<String> ids)
Deprecated.  
Build a local SearchResults. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Optional<Map<String,Object>> | 
getDebugMap()
Deprecated.  
Gets the response debug map if available 
 | 
Map<String,Map<String,Integer>> | 
getFacetResults()
Deprecated.  
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()
Deprecated.  
Get the maximum score of all the results. 
 | 
Iterable<String> | 
getObjectIds()
Deprecated.  
Get the result IDs. 
 | 
AmetysObjectIterable<A> | 
getObjects()
Deprecated.  
Get the  
AmetysObject results | 
SearchResultsIterable<SearchResult<A>> | 
getResults()
Deprecated.  
Get the  
Iterable of the search results. | 
long | 
getTotalCount()
Deprecated.  
Get the total number of search results. 
 | 
private AmetysObjectResolver _resolver
private List<String> _objectIds
public ContentSearchResults(AmetysObjectResolver resolver, Collection<String> ids)
resolver - The AmetysObject resolver.ids - the object IDs.public SearchResultsIterable<SearchResult<A>> getResults()
SearchResultsIterable of the search results.getResults in interface SearchResults<A extends AmetysObject>SearchResultsIterable on the SearchResult.public AmetysObjectIterable<A> getObjects()
SearchResultsAmetysObject resultsgetObjects in interface SearchResults<A extends AmetysObject>AmetysObjectIterable on the results.public Iterable<String> getObjectIds()
SearchResultsgetObjectIds in interface SearchResults<A extends AmetysObject>Iterable on the content IDs.public Map<String,Map<String,Integer>> getFacetResults()
SearchResultsgetFacetResults in interface SearchResults<A extends AmetysObject>public long getTotalCount()
SearchResultsgetTotalCount in interface SearchResults<A extends AmetysObject>public float getMaxScore()
SearchResultsgetMaxScore in interface SearchResults<A extends AmetysObject>public Optional<Map<String,Object>> getDebugMap()
SearchResultsgetDebugMap in interface SearchResults<A extends AmetysObject>