public override DocValues GetCachedFieldValues(FieldCache cache, System.String field, IndexReader reader) { float[] arr = (parser == null) ? cache.GetFloats(reader, field) : cache.GetFloats(reader, field, parser); return(new AnonymousClassDocValues(arr, this)); }
public override DocValues GetCachedFieldValues(FieldCache cache, System.String field, IndexReader reader) { float[] arr = (parser == null) ? cache.GetFloats(reader, field) : cache.GetFloats(reader, field, parser); return new AnonymousClassDocValues(arr, this); }
/*(non-Javadoc) <see cref="Lucene.Net.Search.Function.FieldCacheSource.getCachedValues(Lucene.Net.Search.FieldCache, java.lang.String, Lucene.Net.Index.IndexReader) */ public override DocValues GetCachedFieldValues(FieldCache cache, System.String field, IndexReader reader, IState state) { float[] arr = cache.GetFloats(reader, field, parser, state); return(new AnonymousClassDocValues(arr, this)); }