t;> Hi folks,
>>
>> is it possible to sort by field length without having to (redundantly)
>> save the length information in a seperate index field? At first, I thought
>> to accomplish this using a function query, but I couldn't find an
>> appropriate one.
>&
On 5/24/2010 6:30 AM, Sascha Szott wrote:
Hi folks,
is it possible to sort by field length without having to (redundantly)
save the length information in a seperate index field? At first, I
thought to accomplish this using a function query, but I couldn't find
an appropriate one.
I
t;>>
>>>> Good point, thank you for the clarification. I "thought" that Lucene
>>> internally stores the field length (e.g., in order to compute the
>>> relevance)
>>> and getting this information at query time requires only a simple lookup.
>
that would still be redundant...
Best
Erick
On Mon, May 24, 2010 at 8:30 AM, Sascha Szott wrote:
Hi folks,
is it possible to sort by field length without having to (redundantly)
save
the length information in a seperate index field? At first, I thought to
accomplish this using a functi
d getting this information at query time requires only a simple lookup.
>
> -Sascha
>
>
>
>> But you could consider payloads for storing the length, although
>> that would still be redundant...
>>
>> Best
>> Erick
>>
>> On Mon, May 24, 2010 at 8:3
uery time requires only a
simple lookup.
-Sascha
But you could consider payloads for storing the length, although
that would still be redundant...
Best
Erick
On Mon, May 24, 2010 at 8:30 AM, Sascha Szott wrote:
Hi folks,
is it possible to sort by field length without having to (red
considering you may be
sorting all the terms in your index worst-case.
But you could consider payloads for storing the length, although
that would still be redundant...
Best
Erick
On Mon, May 24, 2010 at 8:30 AM, Sascha Szott wrote:
> Hi folks,
>
> is it possible to sort by field
Hi folks,
is it possible to sort by field length without having to (redundantly)
save the length information in a seperate index field? At first, I
thought to accomplish this using a function query, but I couldn't find
an appropriate one.
Thanks in advance,
Sascha