Re: Ignore fields in XML response
Sure, use the fl parameter to specify the fields that you want (comma-separated) On Wed, Jun 11, 2008 at 11:31 PM, Yves Zoundi [EMAIL PROTECTED] wrote: Hi guys, Is it possible to remove some fields from the XML response? I have a field which can contains a huge amount of data and I would like it to be ignore it in the XML response. Can it be achieved without writing a custom XMLResponseWriter? Thanks -- Regards, Shalin Shekhar Mangar.
Re: Ignore fields in XML response
Yves - you can control which fields are returned from a search using the fl (field list) parameter. fl=* provides all fields except score. fl=id,title,score provides only those selected fields, etc. Erik On Jun 11, 2008, at 2:01 PM, Yves Zoundi wrote: Hi guys, Is it possible to remove some fields from the XML response? I have a field which can contains a huge amount of data and I would like it to be ignore it in the XML response. Can it be achieved without writing a custom XMLResponseWriter? Thanks
RE: Ignore fields in XML response
Thank you guys! -Message d'origine- De : Erik Hatcher [mailto:[EMAIL PROTECTED] Envoyé : 11 juin 2008 14:07 À : solr-user@lucene.apache.org Objet : Re: Ignore fields in XML response Yves - you can control which fields are returned from a search using the fl (field list) parameter. fl=* provides all fields except score. fl=id,title,score provides only those selected fields, etc. Erik On Jun 11, 2008, at 2:01 PM, Yves Zoundi wrote: Hi guys, Is it possible to remove some fields from the XML response? I have a field which can contains a huge amount of data and I would like it to be ignore it in the XML response. Can it be achieved without writing a custom XMLResponseWriter? Thanks