I just answered my own question in that SO post. I think Lucene migration guide should've made it more clear, as deprecating filter is really a big deal for anyone trying to upgrade to 5.
I still have a little concern though. I use a MatchAllDocsQuery with a SHOULD clause. Should I use MUST instead? And is is guaranteed the behavior would be the same as that written in Filter ? On Wednesday, February 10, 2016, Sheng <sheng...@gmail.com> wrote: > question is asked on SO, > > > http://stackoverflow.com/questions/35320661/weird-filter-behavior-in-lucene-5 > > I am behind the firm proxy that make me have to type in phone to send this > to the mail group. If there is any read inconvenience, apologize in advance! > >