NIHVIVO-1690 Add debug statement

This commit is contained in:
jeb228 2011-02-07 17:42:34 +00:00
parent 46b98262c1
commit 2903d0c20d

View file

@ -196,6 +196,8 @@ public class EntityListController extends VitroHttpServlet {
//get list of individuals for the search results //get list of individuals for the search results
int size = docs.totalHits; int size = docs.totalHits;
log.debug("Number of search results: " + size);
// don't get all the results, only get results for the requestedSize // don't get all the results, only get results for the requestedSize
List<Individual> individuals = new ArrayList<Individual>(INDIVIDUALS_PER_PAGE); List<Individual> individuals = new ArrayList<Individual>(INDIVIDUALS_PER_PAGE);
int individualsAdded = 0; int individualsAdded = 0;