Today I noticed org.apache.lucene.search.join.TermsQuery (package access)
in the join module that is functionally equivalent to one by the same name
in the queries module.  It may be a bit historical since the one in the
queries module until recently was a Filter, not a Query.  But now there is
redundancy.  Based on recent changes in Lucene 5.2 done by Adrien to
TermsQuery; I suspect both implementations would perform about the same.
Thus, I think the one in the ‘join’ module should be deleted.

Note the ‘join’ module does not yet depends on the ‘queries’ module. I
think the TermsQuery is of such broad general utility that it should go
into Lucene core.

~ David

Reply via email to