You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2016/06/09 11:35:20 UTC

[jira] [Commented] (LUCENE-7324) ExitableDirectoryReader should not check on every term

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

Michael McCandless commented on LUCENE-7324:
--------------------------------------------

+1

> ExitableDirectoryReader should not check on every term
> ------------------------------------------------------
>
>                 Key: LUCENE-7324
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7324
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Simon Willnauer
>
> I looked at ExitableDirectoryReader and to me checking the timeout on every term is a pretty heavy operation. I wonder if we can relax that a bit and begin with checking when we pull Terms and maybe only every Nth term by default? I wonder if we even can make it a function of the number of therms ie log(numTerms) I think it's pretty trappy to have something that won't perform well or has the risk to not scale well in lucene core?



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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org