lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Smiley (JIRA)" <>
Subject [jira] [Created] (LUCENE-8285) FSTOrdPostingsFormat ironically does not support ord()
Date Tue, 01 May 2018 15:54:00 GMT
David Smiley created LUCENE-8285:

             Summary: FSTOrdPostingsFormat ironically does not support ord()
                 Key: LUCENE-8285
             Project: Lucene - Core
          Issue Type: Improvement
          Components: core/codecs
            Reporter: David Smiley

Ironically, FSTOrdPostingsFormat has a TermsEnum.ord() that throws UnsupportedOperationException.
 There are TODOs here and some discussion in LUCENE-3069 (CC [~billy]).  Isn't supporting
ord() entirely the point of this postings format?

Additionally, if ord() was supported,couldn't TermState be effectively the ordinal, thus making
it lighter-weight/cheaper?

This message was sent by Atlassian JIRA

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

View raw message