lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Renaud Delbru (JIRA)" <>
Subject [jira] [Created] (LUCENE-4046) Allows IOException in DocsEnum#freq()
Date Thu, 10 May 2012 10:24:54 GMT
Renaud Delbru created LUCENE-4046:

             Summary: Allows IOException in DocsEnum#freq()
                 Key: LUCENE-4046
             Project: Lucene - Java
          Issue Type: Improvement
          Components: core/index
            Reporter: Renaud Delbru
             Fix For: 4.0

Currently, DocsEnum#freq() does not allow IOException. This is problematic if somebody wants
to implement a codec that allows lazy loading of freq. Frequency will be read and decoded
only when #freq() will be called, therefore calling IndexInput's read methods that can throw

The current workaround is to catch the IOException in freq() and ignore it (which is not very
nice and not a good solution).

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message