You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by satya swaroop <ss...@gmail.com> on 2010/08/25 09:21:31 UTC

reduce the content???

Hi all,
      i indexed nearly 100 java pdf files which are of large size(min 1MB).
The solr is showing the results with the entire content that it indexed
which is taking time to show the results.. cant we reduce the content it
shows or can i just have the file names and ids instead of the entire
content in the results....

Regards,
satya

Re: reduce the content???

Posted by Shalin Shekhar Mangar <sh...@gmail.com>.
On Wed, Aug 25, 2010 at 12:51 PM, satya swaroop <ss...@gmail.com> wrote:

> Hi all,
>      i indexed nearly 100 java pdf files which are of large size(min 1MB).
> The solr is showing the results with the entire content that it indexed
> which is taking time to show the results.. cant we reduce the content it
> shows or can i just have the file names and ids instead of the entire
> content in the results....
>
>
Change the fields in your schema to stored="false" so that the content in
those fields is indexed but not returned. Alternately, you can choose to
limit the fields to be returned in the response using the "fl" parameter.

-- 
Regards,
Shalin Shekhar Mangar.