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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to