Re: ToParentBlockJoinQuery vs filtered search

2012-08-02 Thread Martijn v Groningen
ng, but I'm not really sure that it's needed for > anyone. > > Could you please provide feedback for the latest patch, and/or move it forth > or back? > > Regards > >> by Martijn v Groningen-2 on Feb 06, 2012; 7:57pm >> URL: >> http://lucene.4720

Re: ToParentBlockJoinQuery vs filtered search

2012-08-01 Thread Mikhail Khludnev
he latest patch, and/or move it forth or back? Regards > by *Martijn v Groningen-2* on *Feb 06, 2012; 7:57pm* > *URL:* http://lucene.472066.n3.nabble.com/ToParentBlockJoinQuery-vs-filtered-search-tp3717911p3719987.html > Hi Mikhail, > There is already an issue open for supp

Re: ToParentBlockJoinQuery vs filtered search

2012-02-07 Thread Michael McCandless
Mikhail, I'll dig into this and post back on the issue... I think something is indeed not right! Thanks for raising this :) Mike McCandless http://blog.mikemccandless.com On Mon, Feb 6, 2012 at 3:59 PM, Mikhail Khludnev wrote: > > > On Mon, Feb 6, 2012 at 5:54 PM, Michael McCandless > wrote:

Re: ToParentBlockJoinQuery vs filtered search

2012-02-06 Thread Mikhail Khludnev
On Mon, Feb 6, 2012 at 5:54 PM, Michael McCandless < luc...@mikemccandless.com> wrote: > On Sun, Feb 5, 2012 at 11:43 PM, Mikhail Khludnev > wrote: > > > Thanks for resolving my hesitations. It allows me move forward. > > You're welcome! > > >> It looks like that's what your test case is testing

Re: ToParentBlockJoinQuery vs filtered search

2012-02-06 Thread Martijn v Groningen
Hi Mikhail, There is already an issue open for supporting block join in Solr: https://issues.apache.org/jira/browse/SOLR-3076 Maybe you can attach your work in that issue and we can iterate from there. Martijn On 6 February 2012 14:54, Michael McCandless wrote: > > On Sun, Feb 5, 2012 at 11:43

Re: ToParentBlockJoinQuery vs filtered search

2012-02-06 Thread Michael McCandless
On Sun, Feb 5, 2012 at 11:43 PM, Mikhail Khludnev wrote: > Thanks for resolving my hesitations. It allows me move forward. You're welcome! >> It looks like that's what your test case is testing for...?  Does it pass? > > Of course it doesn't. > the first reason is that BlockJoinWeight.scorer()

Re: ToParentBlockJoinQuery vs filtered search

2012-02-05 Thread Mikhail Khludnev
On Mon, Feb 6, 2012 at 2:25 AM, Michael McCandless wrote: > > Hi Mikhail, > > BlockJoinQParserPlugin sounds cool! > > I think you're right: the incoming filter will apply to the "to" > document space.  So, for ToParentBJQ it's parent docs, and ToChildBJQ > it's child docs.  The filter only needs t

Re: ToParentBlockJoinQuery vs filtered search

2012-02-05 Thread Michael McCandless
Hi Mikhail, BlockJoinQParserPlugin sounds cool! I think you're right: the incoming filter will apply to the "to" document space. So, for ToParentBJQ it's parent docs, and ToChildBJQ it's child docs. The filter only needs to define the bits for docs in that "to" space... the other bits will not

ToParentBlockJoinQuery vs filtered search

2012-02-05 Thread Mikhail Khludnev
Hello, I'd like to contribute BlockJoinQParserPlugin for Solr. It's not a very big deal, but I'm stuck during writing filtered search test cases. At the first glance it looks like deja vu for another "join" https://issues.apache.org/jira/browse/SOLR-3062 http://svn.apache.org/viewvc/lucene/dev/tru