Note that what fieldcache does is not special, it just has a map and
calls the public SegmentReader.addCoreClosedListener method so that it
gets notifications when something is no longer needed.

I'm not sure we should make fieldcacheimpl public if thats the real
logic you want to reuse.

On Fri, Mar 22, 2013 at 1:36 PM, Alan Woodward <a...@flax.co.uk> wrote:
> I'm looking at exposing data held externally to an index via a ValueSource,
> and it would be nice to reuse the machinery in FieldCacheImpl to cache the
> data per-segment.  However, it's package-private at the moment, which means
> I can't extend it nicely.  Is there a reason for this?  Or should I put up a
> JIRA to make it public?
>
> Alan Woodward
> www.flax.co.uk
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to