Okay, Let me try again.

1. Here is some sample SolrJ code that creates a parent and child document
(I hope)
https://gist.github.com/anonymous/d03747661ef03923de74

2. I tried a block join query which didn't return any results (I tried the
"Block Join Parent Query Parser" approach described in this link
https://cwiki.apache.org/confluence/display/solr/Other+Parsers). I expected
to get back the parent doc of a child which has ATTRIBUTES.STATE:TX, which
I did not , That is what I'm trying to figure out.

Thanks

http://localhost:8088/solr/test_core/select?q={!parent
which="content_type:parentDocument"}ATTRIBUTES.STATE:TX&wt=json&indent=true

(
equivalent to
http://localhost:8088/solr/test_core/select?q=%7b!parent+which%3d%22content_type%3aparentDocument%22%7dATTRIBUTES.STATE%3aTX%26wt%3djson%26indent%3dtrue
)

Resulting in
<response>
<lst name="responseHeader">
<int name="status">0</int>
<int name="QTime">1</int>
<lst name="params">
<str name="q">
{!parent
which="content_type:parentDocument"}ATTRIBUTES.STATE:TX&wt=json&indent=true
</str>
</lst>
</lst>
<result name="response" numFound="0" start="0"/>
</response>




On Mon, Jun 23, 2014 at 4:04 PM, Erick Erickson <erickerick...@gmail.com>
wrote:

> Well, what  do you mean by "not working"? You might review:
> http://wiki.apache.org/solr/UsingMailingLists
>
> Best,
> Erick
>
> On Mon, Jun 23, 2014 at 12:20 PM, Vinay B, <vybe3...@gmail.com> wrote:
> > Hi,
> > I've been trying to experiment with block joins and parent / child docs
> as
> > described in this thread (input described in my first post of the thread,
> > .. and block join in my second post, as per the suggestions given). What
> > else am I missing?
> >
> > Thanks
> >
> >
> http://lucene.472066.n3.nabble.com/Why-aren-t-my-nested-documents-nesting-tt4142702.html#none
>

Reply via email to