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

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

* your initArgs could be simply: {{maxDocumentSize  = 
args.toSolrParams().required().getLong(LIMIT_SIZE_PARAM)}}
* I don't think the estimated size should be eagerly calculated; most apps 
don't need to bother with this?
* maybe keep the existing SolrInputDocument constructor but mark deprecated?
* Have you seen Lucene's RamUsageEstimator, particularly {{shallowSizeOf}}?

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