/** returns the SPIR implementation that should be used for reading the postings * written earlier */ protected PostingInRun getPostingReader() { if (saveTagInformation) { return new BlockFieldPostingInRun(fieldCount); } return new BlockPostingInRun(); }
@Override public void addToLexiconEntry(LexiconEntry _le) { super.addToLexiconEntry(_le); FieldLexiconEntry le = (FieldLexiconEntry)_le; int[] tffs = le.getFieldFrequencies(); addTo(tffs, fieldTFs); }