You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "David Smiley (JIRA)" <ji...@apache.org> on 2018/04/26 14:22:00 UTC

[jira] [Commented] (SOLR-12278) Ignore very large document on indexing

    [ 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org