Re: Extending FieldCache

2010-06-04 Thread Shai Erera
Ok then extending FieldCache is really a problem :). Thanks, Shai On Friday, June 4, 2010, Uwe Schindler wrote: > Ah this is the explanation, all fields in interfaces are static final: > http://stackoverflow.com/questions/1513520/java-why-all-fields-in-an-interfa > ce-are-implicitly-s

RE: Extending FieldCache

2010-06-04 Thread Uwe Schindler
> -Original Message- > From: Uwe Schindler [mailto:[email protected]] > Sent: Friday, June 04, 2010 7:54 PM > To: [email protected] > Subject: RE: Extending FieldCache > > Interface's (FieldCache is an interface) fields are always static (and final? - I > think

RE: Extending FieldCache

2010-06-04 Thread Uwe Schindler
il: [email protected] > -Original Message- > From: Shai Erera [mailto:[email protected]] > Sent: Friday, June 04, 2010 6:55 PM > To: [email protected]; [email protected] > Subject: Re: Extending FieldCache > > Actually DEFAULT is not defined final, but I haven&#x

Re: Extending FieldCache

2010-06-04 Thread Shai Erera
hold for more than a year … I can impl my cache layer and duplicate TopFieldCollector logic. Thanks anyway, Shai 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 val

Re: Extending FieldCache

2010-06-04 Thread Yonik Seeley
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

Extending FieldCache

2010-06-04 Thread Shai Erera
Hi 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 FieldCac