But then, as I noted about LUCENE-2632, you'd have a FilteringCodec extends FilterCodec. That's confusing.
I personally don't think that FilterInputStream is a good example, b/c there's no other filter when it comes to IO. Shai On Thu, Nov 15, 2012 at 3:35 PM, Robert Muir <rcm...@gmail.com> wrote: > On Thu, Nov 15, 2012 at 5:16 AM, Shai Erera <ser...@gmail.com> wrote: > > But also, in Lucene we already have Filter > > which is recognized as filtering documents, and hence was my confusion - > > that another Filter* class would filter out some data too. > > > > I like using the java.io FilterXXX, but I don't like that Filter has > another meaning in lucene. > > But rather than rename all these classes, maybe we do something like > merge Filter and Query for lucene 5 instead. > I am not sure on that idea myself, just mentioning it. It has scoring > traps like boolean query's coord() that I don't like. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org > For additional commands, e-mail: dev-h...@lucene.apache.org > >