Reputation: 2373
I have a document with 195 million characters. It gets indexed ok, but when it comes to displaying it to the user, I dont need to display it fully, just lets say 1 million characters or so, not to mention that Solr crashes as well.
Is it possible to limit number of characters stored/displayed, but index all. Like in copy field:
<copyField source="cat" dest="text" maxChars="30000" />
Upvotes: 0
Views: 123
Reputation: 9789
You are nearly providing your own answer.
However, you may consider not having that content in Solr at all, but have it outside of Solr. At least if you have multiple documents like that in Solr.
Upvotes: 1