[ 
https://issues.apache.org/jira/browse/OODT-890?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14955142#comment-14955142
 ] 

Tom Barber commented on OODT-890:
---------------------------------

https://git-wip-us.apache.org/repos/asf?p=oodt.git;a=blobdiff;f=filemgr/src/main/java/org/apache/oodt/cas/filemgr/catalog/LuceneCatalog.java;h=c91060e9ce4359aac1db5657a8d88f9ddc36047c;hp=98e0eb5283d0bfb649e17d7f24d2541544f09677;hb=2a172a06d3e0a716f7bf9fd22d00785658940ee9;hpb=d757222b8847e839fb3326bec6cd08e96cea0fad
 

I pushed a fix, that prunes the top off the list and returns that, there is 
also a passing test for it, let me know if its wrong and I'll back it out.

> getTopNProducts by type returns wrong value
> -------------------------------------------
>
>                 Key: OODT-890
>                 URL: https://issues.apache.org/jira/browse/OODT-890
>             Project: OODT
>          Issue Type: Bug
>            Reporter: Tom Barber
>            Assignee: Tom Barber
>
> When fixing some bugs, I found a method in the LuceneCatalog that is 
> getTopNProducts limited by number of products and product type, but it 
> returns all products in a page not the top x.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to