}
final void addRawDocuments(final IndexInput stream, long[] lengthsstart,long[] lengthsend, int numDocs) throws IOException {
if(stream instanceof FdtCompressIndexInput)
{
FdtCompressIndexInput inputstream=(FdtCompressIndexInput)stream;
for(int i=0;i<numDocs;i++) {
long position = fieldsStream.getFilePointer();
indexStream.writeLong(position);
// LOG.info("addRawDocuments 1 "+position+","+lengthsstart[i]+","+lengthsend[i]);
inputstream.writeToPos(fieldsStream,lengthsend[i]);
}
return ;
}
if(fieldsStream instanceof FdtCompressIndexOutput)