StorePruningPolicy to stored fields of a document.StorePruningPolicy to the list of available field infos.TermPruningPolicy to terms inside term vectors.TermPositions to a new Term.TermPruningPolicy, and
optionally it can also remove stored fields of documents according to rules
implemented in a StorePruningPolicy.PruningReader on an input
index and produce a pruned output index using
IndexWriter.addIndexes(IndexReader...).TermPruningPolicy that uses "residual IDF"
metric to determine the postings of terms to keep/remove, as defined in
http://www.dc.fi.udc.es/~barreiro/publications/blanco_barreiro_ecir2007.pdf.TermPruningPolicy to term positions.TermPruningPolicy.pruneAllFieldPostings(String)
all data of a certain term - see TermPruningPolicy.pruneTermEnum(TermEnum)
all positions of a certain term in a certain document - see #pruneAllPositions(TermPositions, Term)
some positions of a certain term in a certain document - see #pruneSomePositions(int, int[], Term)
TermPruningPolicy to term enum.