lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shai Erera <>
Subject Re: Extending FieldCache
Date Fri, 04 Jun 2010 16:54:36 GMT
Actually DEFAULT is not defined final, but I haven't tried assigning a
value to it.

Anyway, even if that's resolved, the API relies only on the field
name, and if I need to pass a Term then it's not reallly possible.
I've also looked at LUCENE-831 but it seems this work is on hold for
more than a year …

I can impl my cache layer and duplicate TopFieldCollector logic.

Thanks anyway,

On Friday, June 4, 2010, Yonik Seeley <> wrote:
> On Fri, Jun 4, 2010 at 4:38 AM, Shai Erera <> wrote:
>> I've looked into extending FieldCache, so that I can read the values to
>> cache in a custom manner (not necessarily from the field's values). Just
>> want to confirm my understanding - it looks like if I want to do it, I'll
>> need to create my own FieldCache impl, and then set FieldCache.DEFAULT with
>> it?
> Interface members are final, so you can't actually implement your own.
> -Yonik
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message