lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <>
Subject Re: Is there Solr limitation on size for document retrieval?
Date Thu, 05 Jan 2017 20:29:59 GMT
The problem is probably somewhere in the max allowed packet size you
have configured between your client and server. Solr has no a-priori
limit here (well, I think > 2B won't return).

What is you symptom? Often the browser will sit there blank because
it's taking forever to render. Try submitting the url with curl and
piping the output to a file. If that succeeds then it's a browser

hl.fragsize, see:
won't return the entire field. maxAnalyzedChars will restrict
highlighting to the beginning of the doc.


On Thu, Jan 5, 2017 at 12:15 PM, Kaushik <> wrote:
> Hello,
> Is there a limit on the size of a document that can be indexed and rendered
> by Solr? We use Solr 5.3.1 and while we are able to index a document of 40
> mb size withouot any issue, we are unable to retrieve the indexed
> SolrDocument. Is there any configuration that we can use to spit out the
> entire document?
> Also, the only reason why we need the whole document is because of the
> highlighting feature. It would be great if we can just get a snippet of the
> text, instead of the entire content field for highlighting.
> Thanks,
> Kaushik

View raw message