Are you sure you want to recompute the length when sorting?
It's the classic time/space tradeoff, but I'd suggest that when
your index is big enough to make taking up some more space
a problem, it's far too big to spend the cycles calculating each
term length for sorting purposes 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 <sz...@zib.de> 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.
>
> Thanks in advance,
> Sascha
>
>

Reply via email to