lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Smiley (JIRA)" <j...@apache.org>
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
                 URL: https://issues.apache.org/jira/browse/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
(v7.6.3#76005)

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


Mime
View raw message