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-unsubscr...@lucene.apache.org
> For additional commands, e-mail: dev-h...@lucene.apache.org
> 

Reply via email to