Example usage for org.apache.lucene.index MultiDocValues getNormValues

List of usage examples for org.apache.lucene.index MultiDocValues getNormValues

Introduction

In this page you can find the example usage for org.apache.lucene.index MultiDocValues getNormValues.

Prototype

public static NumericDocValues getNormValues(final IndexReader r, final String field) throws IOException 

Source Link

Document

Returns a NumericDocValues for a reader's norms (potentially merging on-the-fly).

Usage

From source file:org.apache.solr.index.SlowCompositeReaderWrapper.java

License:Apache License

@Override
public NumericDocValues getNormValues(String field) throws IOException {
    ensureOpen();
    return MultiDocValues.getNormValues(in, field);
}

From source file:org.apache.tika.eval.tools.SlowCompositeReaderWrapper.java

License:Apache License

@Override
public NumericDocValues getNormValues(String field) throws IOException {
    ensureOpen();/*from  www.  ja v a  2  s.  c om*/
    return MultiDocValues.getNormValues(in, field); // TODO cache?
}