[
https://issues.apache.org/jira/browse/LUCENE-6173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Uwe Schindler closed LUCENE-6173.
---------------------------------
Resolution: Invalid
In fact, this is not bug. The same happens in CharTermAttribute if you call
getBytes().
In my opinion we should fix this for 5.0 in a separate issue, so we no longer
have fillBytesRef() and then getBytesRef(). The whole thing should be done in
getBytesRef(), no need for fillBytesRef.
> NumericTermAttribute does not implement deep clone since cutover to
> BytesRefBuilder
> -----------------------------------------------------------------------------------
>
> Key: LUCENE-6173
> URL: https://issues.apache.org/jira/browse/LUCENE-6173
> Project: Lucene - Core
> Issue Type: Bug
> Reporter: Uwe Schindler
> Assignee: Uwe Schindler
>
> This was an oversight. We should fix it, although NumericTermAttribute is not
> really a public class (it is an implementation detail).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]