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 problem. hl.fragsize, see: https://cwiki.apache.org/confluence/display/solr/Standard+Highlighter won't return the entire field. maxAnalyzedChars will restrict highlighting to the beginning of the doc. Best, Erick On Thu, Jan 5, 2017 at 12:15 PM, Kaushik <kaushika...@gmail.com> 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