[
https://issues.apache.org/jira/browse/OODT-141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chris A. Mattmann resolved OODT-141.
------------------------------------
Resolution: Fixed
- fixed in r1070770. I committed a unit test as well to ensure regression going
forward.
> LuceneCatalog pagination throws LuceneException when grabbing out of bounds
> hitNum
> ----------------------------------------------------------------------------------
>
> Key: OODT-141
> URL: https://issues.apache.org/jira/browse/OODT-141
> Project: OODT
> Issue Type: Bug
> Components: file manager, pcs
> Affects Versions: 0.1-incubating, 0.2
> Environment: while testing pcs health monitor
> Reporter: Chris A. Mattmann
> Assignee: Chris A. Mattmann
> Priority: Critical
> Labels: bug, catalog, file, lucene, manager, oodt, pcs
> Fix For: 0.3
>
>
> 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.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira