Right, RawTermFilter is no longer needed (because we changed how deleted docs are handled in 4.0).
Mike McCandless http://blog.mikemccandless.com On Thu, Jan 17, 2013 at 9:39 AM, Martijn v Groningen <martijn.v.gronin...@gmail.com> wrote: > I don't recall that the RawTermFilter was required. The following code > should also work in 4.x: > Filter parentsFilter = new CachingWrapperFilter(new > QueryWrapperFilter(new TermQuery(new Term("type", "T1")))); > > Martijn > > On 16 January 2013 16:51, kiwi clive <kiwi_cl...@yahoo.com> wrote: >> Hi Guys, >> >> Apologies if this has been asked before but I could not an appropriate post. >> >> The Lucene Documentation stresses the use of a RawTermFiler when building up >> the parentFilter and I was previously using the following in lucene 3.6.0: >> >> >> Filter parentQueryFilter = new CachingWrapperFilter(new >> RawTermFilter(new Term("type", "T1")), true); >> >> Having moved to lucene 4.0.0, I cannot find the RawTermFilter class. It may >> be in another module but I have not been able to find it. Is this filter >> still required for BlockJoin as the Join API does not seem to have changed >> appreciably. >> >> Thanks for any help. >> Clive > > > > -- > Met vriendelijke groet, > > Martijn van Groningen > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-user-h...@lucene.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org