Yep I did switch on stored=true in the field type. I was able to confirm a few
ways that there are values for the eff by two methods:
1) changing desc to asc produced drastically different results.
2) debugging FileFloatSource the following was getting triggered filling the
vals array:
while ((doc = docsEnum.nextDoc()) !=
DocIdSetIterator.NO_MORE_DOCS)
{
vals[doc] = fval;
}
At least by you asking these questions I guess it should work. I will continue
dissecting.
Thanks Erick.
C
On Jul 14, 2013, at 5:16 AM, Erick Erickson <[email protected]> wrote:
> Did you store the field? I.e. set stored="true"? And does the EFF contain
> values for the docs you're returning?
>
> Best
> Erick
>
> On Sun, Jul 14, 2013 at 3:32 AM, Chris Collins <[email protected]> wrote:
>> I am playing with external file field for sorting. I created a dynamic
>> field using the ExternalFileField type.
>>
>> I naively assumed that the "fl" argument would allow me to return the value
>> the external field but doesnt seem to do so.
>>
>> For instance I have a defined a dynamic field:
>>
>> *_efloat
>>
>> then I used:
>>
>> sort=foo_efloat desc
>> fl=foo_efloat, score, description
>>
>> I get the score and description but the foo_efloat seems to be missing in
>> action.
>>
>>
>> Thoughts?
>>
>> C
>>
>