How can I force Solr to return complete field's contents?
I found lots of questions about how to force Solr to truncate field's contents (开发者_JS百科like this one), but I got an opposite problem. When searching (from both - Solr admin and Solrj) I'm getting only snippets for long text fields. How can I force it to return complete field's contents?
I guess it is also about highlighters, but it isn't obvious how to get such functionality.
Before you go too far, I'd take a good, hard look at your indexing code to make sure its not truncating the data before it gets to Solr. That seems a much, much more likely place for the data to get truncated.
精彩评论