@Test void sizeWithException() { assertThrows(IllegalStateException.class, () -> this.solrIterator.size(), "Failed to query the Solr index."); }
@Override public long size() { return getResults() instanceof SolrDocumentList ? ((SolrDocumentList) results).getNumFound() : results.size(); }
SolrDocumentIterator extends AbstractDocumentIterator<String> { @Override public long size() { return getResults() instanceof SolrDocumentList ? ((SolrDocumentList) results).getNumFound() : results.size(); } }
SolrDocumentIterator extends AbstractDocumentIterator<String> { @Override public long size() { return getResults() instanceof SolrDocumentList ? ((SolrDocumentList) results).getNumFound() : results.size(); }  }
SolrDocumentIterator extends AbstractDocumentIterator<String> { @Override public long size() { return getResults() instanceof SolrDocumentList ? ((SolrDocumentList) results).getNumFound() : results.size(); }  @Override boolean hasNext(); @Override Pair<DocumentReference, String> next(); @Override long size(); }
SolrDocumentIterator extends AbstractDocumentIterator<String> { @Override public long size() { return getResults() instanceof SolrDocumentList ? ((SolrDocumentList) results).getNumFound() : results.size(); }  @Override boolean hasNext(); @Override Pair<DocumentReference, String> next(); @Override long size();  }