fieldFrequencies[fi] = postingSource.readUnary() -1;
}
}
public WritablePosting asWritablePosting() {
FieldPostingImpl bp = new FieldPostingImpl(docid, frequency, fieldFrequencies.length);
System.arraycopy(fieldFrequencies, 0, bp.getFieldFrequencies(), 0, fieldFrequencies.length);
return bp;
}