lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alan Woodward <a...@flax.co.uk>
Subject Re: Opening up FieldCacheImpl
Date Fri, 22 Mar 2013 22:26:32 GMT
Actually this would be really nice, wouldn't it.  Add a getFieldCache(String field) method
to AtomicReader.  You'd have to be able to determine what to return depending on the field
though - uninverted field, or docvalues, or another cached source.  

FieldCache and DocValues seem like they ought to have a common API, really.  And ValueSource
in the function queries package as well.  But that's another issue...

Alan Woodward
www.flax.co.uk


On 22 Mar 2013, at 20:48, Yonik Seeley wrote:

> The ability to cache stuff w/o resorting to weak references would be even nicer!
> Caches right on the segment readers?
> 
> -Yonik
> http://lucidworks.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
> 


Mime
View raw message