Package org.ametys.cms.search
Interface SearchResultsIterable<T>
-
- Type Parameters:
T
- the type of elements returned by the iterator
- All Superinterfaces:
Iterable<T>
- All Known Implementing Classes:
ContentSearchResults.IdSearchResultsIterable
,SolrResponseIterable
public interface SearchResultsIterable<T> extends Iterable<T>
Iterable
for results of a Solr search (SearcherFactory.Searcher.searchWithFacets()
), available fromSearchResults.getResults()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getSize()
Returns the number of elements in this iterable.SearchResultsIterator<T>
iterator()
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-