lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrzej Bialecki (JIRA)" <>
Subject [jira] [Created] (LUCENE-4122) Replace Payload with BytesRef
Date Fri, 08 Jun 2012 16:33:23 GMT
Andrzej Bialecki  created LUCENE-4122:

             Summary: Replace Payload with BytesRef
                 Key: LUCENE-4122
             Project: Lucene - Java
          Issue Type: Improvement
          Components: core/index
    Affects Versions: 4.0, 5.0
            Reporter: Andrzej Bialecki 
            Assignee: Andrzej Bialecki 
             Fix For: 4.0, 5.0

The Payload class offers a very similar functionality to BytesRef. The code internally uses
BytesRef-s to represent payloads, and on indexing and on retrieval this data is repackaged
from/to Payload.

This seems wasteful. I propose to remove the Payload class and use BytesRef instead, thus
avoid this re-wrapping and reducing the API footprint.

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