You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2014/12/03 11:45:12 UTC

[jira] [Commented] (LUCENE-6091) UsageTrackingFilterCachingPolicy does not handle the null DocIdSet case

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

Robert Muir commented on LUCENE-6091:
-------------------------------------

+1, thanks for adding these tests.

> UsageTrackingFilterCachingPolicy does not handle the null DocIdSet case
> -----------------------------------------------------------------------
>
>                 Key: LUCENE-6091
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6091
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Adrien Grand
>            Assignee: Adrien Grand
>            Priority: Minor
>         Attachments: LUCENE-6091.patch
>
>
> I found a NullPointerException while playing with it since it is legal for filters to return a null DocIdSet when they don't match any documents on a segment.



--
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