You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oodt.apache.org by "Chris A. Mattmann (JIRA)" <ji...@apache.org> on 2011/02/15 04:35:57 UTC
[jira] Created: (OODT-141) LuceneCatalog pagination throws
LuceneException when grabbing out of bounds hitNum
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.2, 0.1-incubating
Environment: while testing pcs health monitor
Reporter: Chris A. Mattmann
Assignee: Chris A. Mattmann
Priority: Critical
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
[jira] Resolved: (OODT-141) LuceneCatalog pagination throws
LuceneException when grabbing out of bounds hitNum
Posted by "Chris A. Mattmann (JIRA)" <ji...@apache.org>.
[ 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