Details
Description
While testing the PCSHealthMonitor and working on OODT-139 I noticed that the LuceneCatalog has a bug in its topN results API. If current # of products < topN results, you will always get an OutOfBoundsException thrown in the underlying Lucene library by trying to read topN results when topN > size of the index.