You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2013/11/30 19:34:35 UTC

[jira] [Commented] (MAHOUT-1312) LocalitySensitiveHashSearch.search does not respect search result limit

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

Hudson commented on MAHOUT-1312:
--------------------------------

SUCCESS: Integrated in Mahout-Quality #2341 (See [https://builds.apache.org/job/Mahout-Quality/2341/])
MAHOUT-1312: LocalitySensitiveHashSearch does not limit search results (sslavic: rev 1546758)
* /mahout/trunk/CHANGELOG
* /mahout/trunk/core/pom.xml
* /mahout/trunk/core/src/main/java/org/apache/mahout/math/neighborhood/LocalitySensitiveHashSearch.java
* /mahout/trunk/core/src/test/java/org/apache/mahout/math/neighborhood/SearchSanityTest.java
* /mahout/trunk/pom.xml


> LocalitySensitiveHashSearch.search does not respect search result limit
> -----------------------------------------------------------------------
>
>                 Key: MAHOUT-1312
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-1312
>             Project: Mahout
>          Issue Type: Bug
>          Components: Math
>    Affects Versions: 0.8
>            Reporter: Stevo Slavic
>            Assignee: Stevo Slavic
>            Priority: Minor
>             Fix For: 0.9
>
>
> According to documented {{org.apache.mahout.math.neighborhood.Searcher}}, {{public abstract List<WeightedThing<Vector>> search(Vector query, int limit)}} contract, {{limit}} should be the number of results to return.
> {{LocalitySensitiveHashSearch}} implements {{Searcher}} but does not respect that contract, as it can return more results than the given limit.
> This issue was encountered while debugging MAHOUT-1302.



--
This message was sent by Atlassian JIRA
(v6.1#6144)