103104105106107108109110
public int[] getPositions() { return blockIds; } public WritablePosting asWritablePosting() { WritablePosting bp = new BlockPostingImpl(docid, frequency, blockIds); return bp; }
145146147148149150151152
return blockIds; } @Override public WritablePosting asWritablePosting() { BlockPostingImpl fbp = new BlockPostingImpl(termIds[i], getFrequency(), getPositions()); return fbp; }