You could also use a DocTransformer. But really, unless these
fields are quite long it seems overkill to do anything but ignore
them when returned for docs you don't care about.

Best
Erick

On Mon, Jul 15, 2013 at 7:05 PM, Jack Krupansky <j...@basetechnology.com> wrote:
> SOLR-5005 - JavaScriptRequestHandler
> https://issues.apache.org/jira/browse/SOLR-5005
>
> -- Jack Krupansky
>
> -----Original Message----- From: Alexandre Rafalovitch
> Sent: Monday, July 15, 2013 6:56 PM
> To: solr-user@lucene.apache.org
> Subject: Re: Different 'fl' for first X results
>
>
> Is there a JIRA number for the last one?
>
> Regards,
>     Alex
> On 15 Jul 2013 17:21, "Jack Krupansky" <j...@basetechnology.com> wrote:
>
>> 1. Request all fields needed for all results and simply ignore the extra
>> field(s) (which can be empty or missing and will automatically be ignored
>> by Solr anyway).
>> 2. Two separate query requests.
>> 3. A custom search component.
>> 4. Wait for the new scripted query request handler that gives you full
>> control in a custom script.
>>
>> -- Jack Krupansky
>>
>> -----Original Message----- From: Weber
>> Sent: Monday, July 15, 2013 4:58 PM
>> To: solr-user@lucene.apache.org
>> Subject: Different 'fl' for first X results
>>
>> How to get a different field list in the first X results? For example, in
>> the
>> first 5 results I want fields A, B, C, and on the next results I need only
>> fields A, and B.
>>
>>
>>
>> --
>> View this message in context: http://lucene.472066.n3.**
>>
>> nabble.com/Different-fl-for-**first-X-results-tp4078178.html<http://lucene.472066.n3.nabble.com/Different-fl-for-first-X-results-tp4078178.html>
>> Sent from the Solr - User mailing list archive at Nabble.com.
>>
>

Reply via email to