Hey Mike,
My fault... I wasn't paying attention and thought I was replying to a
response from James. No wonder it reminded me of our last conversation. :)
-Greg
On Thu, Jan 22, 2015 at 10:37 AM, Michael Sokolov <
msoko...@safaribooksonline.com> wrote:
> Yeah I know -- we've been around this bl
TermQuerys works fine and does exactly what I
wanted! Thanks very much for your help!
Jim
From: Michael Sokolov [msoko...@safaribooksonline.com]
Sent: Thursday, January 22, 2015 11:45 AM
To: java-user@lucene.apache.org
Subject: Re: ToChildBlockJoinQuery q
help!
Jim
From: Michael Sokolov [msoko...@safaribooksonline.com]
Sent: Thursday, January 22, 2015 11:45 AM
To: java-user@lucene.apache.org
Subject: Re: ToChildBlockJoinQuery question
I think the idea is that you create a blockjoinquery that encapsulates
the joi
parent documents.
ToChildBlockJoinQuery almost gives me what I want, but I really need to be able
to filter the child docs returned as well as the parent from which they came.
If you (or anybody) still thinks I'm doing it wrong please let me know. If I
should file a bug report also let
e child docs returned as well as the parent from which they came.
If you (or anybody) still thinks I'm doing it wrong please let me know. If I
should file a bug report also let me know that, I have a small index I can
provide if it is useful. Thanks again for your help.
Jim
___
Yeah I know -- we've been around this block before. I agree that the
whole block indexing/searching feature is a bit confusing, trappy and
error-prone, and it may be helpful to have those boundary conditions as
signposts, but in my case relaxing the restriction enabled me to execute
the querie
Mike,
I agree that it's not absolutely necessary to enforce children not being
their own parent. I was just trying to describe the current
implementation, and why you were seeing exceptions.
The difference is mostly philosophical. The advantage of the current
approach (in my opinion) is that it
On 1/21/2015 6:59 PM, Gregory Dearing wrote:
Jim,
I think you hit the nail on the head... that's not what BlockJoinQueries do.
If you're wanting to search for children and join to their parents... then
use ToParentBlockJoinQuery, with a query that matches the set of children
and a filter that m
Jim,
I think you hit the nail on the head... that's not what BlockJoinQueries do.
If you're wanting to search for children and join to their parents... then
use ToParentBlockJoinQuery, with a query that matches the set of children
and a filter that matches the set of parents.
If you're searching
in query, but the mailing list rejected my message, if there's a
better place to send/upload this index let me know and I surely will. Thanks
again for any help.
Jim
____
From: Gregory Dearing [gregdear...@gmail.com]
Sent: Wednesday, January 21, 2015 1:01 PM
To: java-user@lucene.ap
James,
I haven't actually ran your example, but I think the source problem is that
your source query ("NT:American") is hitting documents that have no
children.
The reason the exception is so weird is that one of your index segments
contains zero documents that match your filter. Specifically, t
11 matches
Mail list logo