It used to be better than a QueryWrapperFilter(TermQuery) by not decoding freqs but it is not the case anymore since LUCENE-6218
Commit 1657886 from Adrien Grand in branch 'dev/trunk'
[ https://svn.apache.org/r1657886 ]
LUCENE-6222: Removed TermFilter.
Commit 1657888 from Adrien Grand in branch 'dev/branches/branch_5x'
[ https://svn.apache.org/r1657888 ]
Its easy to give the user back compat here, so they get a deprecation instead of compile error. Its contained so I think we should do it?
+1 to the backcompat patch.
Commit 1659789 from Robert Muir in branch 'dev/branches/branch_5x'
[ https://svn.apache.org/r1659789 ]
LUCENE-6222: add backwards compatibility (deprecated TermFilter)
Bulk close after 5.1 release