[ 
https://issues.apache.org/jira/browse/SOLR-12278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16458678#comment-16458678
 ] 

David Smiley commented on SOLR-12278:
-------------------------------------

Me:
bq. imagine if FastInputStream had methods to track the overall bytes written 

it already does -- position().  position() might need to move to 
DataInputInputStream or probably better -- JavaBinCodec could cast (but not 
complain if it's not of type FastInputStream).

This approach would also provide a way to bail out earlier -- before we read 
stuff beyond the limit into heap.  That would take more LOC though.

> Ignore very large document on indexing
> --------------------------------------
>
>                 Key: SOLR-12278
>                 URL: https://issues.apache.org/jira/browse/SOLR-12278
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Cao Manh Dat
>            Assignee: Cao Manh Dat
>            Priority: Major
>         Attachments: SOLR-12278.patch, SOLR-12278.patch
>
>
> Solr should be able to ignore very large document, so it won't affect the 
> index as well as the tlog. 



--
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