Re: Only return snippets, not content

2013-05-01 Thread Bai Shen
I'll take a look. Thanks. On Wed, May 1, 2013 at 8:27 AM, Michael Della Bitta < michael.della.bi...@appinions.com> wrote: > Since you're doing this, you might want to make sure lazy field loading is > on as well. Unfortunately I can't link you to the wiki because it still > down (uh oh), but it

Re: Only return snippets, not content

2013-05-01 Thread Michael Della Bitta
Since you're doing this, you might want to make sure lazy field loading is on as well. Unfortunately I can't link you to the wiki because it still down (uh oh), but it's a setting in solrconfig.xml. Michael Della Bitta Appinions 18 East 41st Stree

Re: Only return snippets, not content

2013-05-01 Thread Bai Shen
Fixed it. I just had to add "&fl=" with all of the fields except for content that I wanted returned. On Wed, May 1, 2013 at 7:38 AM, Bai Shen wrote: > I have a lot of large files that I've indexed into solr. Is there a way > to have solr return the snippets instead of the content? I'm only >

Only return snippets, not content

2013-05-01 Thread Bai Shen
I have a lot of large files that I've indexed into solr. Is there a way to have solr return the snippets instead of the content? I'm only displaying the snippets to my users, so transferring the content as well just wastes bandwidth. Thanks.