Uploaded image for project: 'OODT'
  1. OODT
  2. OODT-141

LuceneCatalog pagination throws LuceneException when grabbing out of bounds hitNum

    XMLWordPrintableJSON

    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.

        Attachments

          Activity

            People

            • Assignee:
              chrismattmann Chris A. Mattmann
              Reporter:
              chrismattmann Chris A. Mattmann
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: