termProcessor,
field, properties, termMap, prefixMap, sizes, offsets );
}
else if ( queryProperties != null && queryProperties.containsKey( UriKeys.MAPPED ) ) {
final File positionsFile = new File( basename + POSITIONS_EXTENSION );
final ByteBufferInputStream index = ByteBufferInputStream.map( new FileInputStream( indexFile ).getChannel(), MapMode.READ_ONLY );
return highPerformance
? new MemoryMappedHPIndex( index, ByteBufferInputStream.map( new FileInputStream( positionsFile ).getChannel(), MapMode.READ_ONLY ),
numberOfDocuments, numberOfTerms, numberOfPostings, numberOfOccurrences, maxCount,
payload, frequencyCoding, pointerCoding, countCoding, positionCoding, quantum, height,
termProcessor,