You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucy.apache.org by "Marvin Humphrey (JIRA)" <ji...@apache.org> on 2016/04/21 04:15:25 UTC

[lucy-issues] [jira] [Created] (LUCY-300) Restrict max field length to 2 GB

Marvin Humphrey created LUCY-300:
------------------------------------

             Summary: Restrict max field length to 2 GB
                 Key: LUCY-300
                 URL: https://issues.apache.org/jira/browse/LUCY-300
             Project: Lucy
          Issue Type: Bug
            Reporter: Marvin Humphrey


Install an early sanity check restricting field lengths to a maximum of 2 GB.

Prior to 0.5.0, the maximum was no greater than 4 GB, because String had size measured in uint32_t.  The practical size is generally much smaller anyway because 1) the original string plus all its tokens takes up a lot of space, and 2) Lucy is not ideal for huge documents.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)