[ 
https://issues.apache.org/jira/browse/CTAKES-67?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sean Finan updated CTAKES-67:
-----------------------------
    Issue Type: Improvement  (was: Bug)

> LuceneDictionaryImpl and iv_maxHits
> -----------------------------------
>
>                 Key: CTAKES-67
>                 URL: https://issues.apache.org/jira/browse/CTAKES-67
>             Project: cTAKES
>          Issue Type: Improvement
>          Components: ctakes-dictionary-lookup
>    Affects Versions: 3.0-incubating
>            Reporter: Steven Bethard
>            Priority: Minor
>
> The default value for LuceneDictionaryImpl's iv_maxHits is Integer.MAX_VALUE, 
> and this class uses iv_maxHits in this call:
>        topDoc = iv_searcher.search(query.parse(str.replace('-', ' ')), 
> iv_maxHits);
> This search method is only intended for use with a max hits up to about 100 
> items:
> https://issues.apache.org/jira/browse/LUCENE-4368?focusedCommentId=13451578&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13451578
> If you really want all the hits, then it'll speed things up (by a lot, in my 
> experience) to write a simple Collector subclass that just collects them all.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to