You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Drew Foulks (Jira)" <ji...@apache.org> on 2022/09/22 17:42:00 UTC

[jira] [Updated] (LUCENE-8292) Fix FilterLeafReader.FilterTermsEnum to delegate all seekExact methods

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

Drew Foulks updated LUCENE-8292:
--------------------------------
    Reporter: Bruno Roustant  (was: Bruno Roustant)

> Fix FilterLeafReader.FilterTermsEnum to delegate all seekExact methods
> ----------------------------------------------------------------------
>
>                 Key: LUCENE-8292
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8292
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: core/index
>    Affects Versions: 7.2.1
>            Reporter: Bruno Roustant
>            Priority: Major
>             Fix For: trunk, 8.0, 8.x, 9.0
>
>         Attachments: 0001-Fix-FilterLeafReader.FilterTermsEnum-to-delegate-see.patch, LUCENE-8292.patch
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> FilterLeafReader#FilterTermsEnum wraps another TermsEnum and delegates many methods.
> It misses some seekExact() methods, thus it is not possible to the delegate to override these methods to have specific behavior (unlike the TermsEnum API which allows that).
> The fix is straightforward: simply override these seekExact() methods and delegate.



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

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