Ah!  This will let you post-process result sets with an XSL script:

http://wiki.apache.org/solr/XsltResponseWriter 

-----Original Message-----
From: Manepalli, Kalyan [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 24, 2008 11:44 AM
To: solr-user@lucene.apache.org
Subject: RE: customizing results in StandardQueryHandler

Ryan,
        Actually, what I need is: I always query for a set of fields say
(f1, f2, f3 .. f6). Now once I get the results, based on some logic, I
need to generate the XML which is customized and contains only fields
say (f2, f3, and some new data). 
So the fl will always be (f1 ... f6)



Thanks,
Kalyan Manepalli

-----Original Message-----
From: Ryan McKinley [mailto:[EMAIL PROTECTED]
Sent: Friday, October 24, 2008 1:25 PM
To: solr-user@lucene.apache.org
Subject: Re: customizing results in StandardQueryHandler

isn't this just: fl=f1,f3,f4  etc

or am I missing something?


On Oct 24, 2008, at 12:26 PM, Manepalli, Kalyan wrote:

> Hi,
>       In my usecase, I query a set of fields. Then based on the
results, I 
> want to output a customized set of fields. Can I do this without using

> a search component?
> E:g. I query for fields f1, f2, f3, f4. Now based on some conditions, 
> I want to output just f1, f3, f4 (the list of final fields may vary).
>
> How do I rewrite the resultant xml optimally?
> Any thoughts on this will be helpful
>
> Thanks,
> Kalyan

Reply via email to