You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Ignacio Vera (Jira)" <ji...@apache.org> on 2022/02/04 14:00:01 UTC
[jira] [Created] (LUCENE-10405) MemoryIndex: Binary and Sorted doc values should not be added to a BytesRefHash
Ignacio Vera created LUCENE-10405:
-------------------------------------
Summary: MemoryIndex: Binary and Sorted doc values should not be added to a BytesRefHash
Key: LUCENE-10405
URL: https://issues.apache.org/jira/browse/LUCENE-10405
Project: Lucene - Core
Issue Type: Bug
Reporter: Ignacio Vera
Currently when we add a binary or sorted doc value in the MemoryIndex, it will get stored in a BytesRefHash. This is not necessary as we only expect one doc value per document so they don't need to be deduped.
In addition a BytesRefHash has a limit on term size (~32kb) which those doc values don't have in normal codecs. Therefore as it s a different behaviour it can be considered a bug. We should store those doc values as a plain byte[] (or BytesRef).
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org