Anyone know the query I would do to get the join to work? I'm unable to get
it to work.

On Wed, Sep 14, 2011 at 10:49 AM, Jason Toy <jason...@gmail.com> wrote:

> I've been reading the information on the new join feature and am not quite
> sure how I would use it given my schema structure. I have "User" docs and
> "BlogPost" docs and I want to return all BlogPosts that match the fulltext
> title "cool" that belong to Users that match the description "solr".
>
> Here are the 2 docs I have:
>
>
> <?xml version="1.0" encoding="UTF-8"?><add>
>
> <doc><field name="class_name">User</field><field
> name="login_s">jtoy</field><field name="user_id_i">192123</field><field
> name="description_text">a solr user</field></field></doc>
>
> <doc><field name="class_name">BlogPost</field><field
> name="user_id_i">192123</field><field name="body_text">this is the
> description</field><field name="title_text">this is a cool
> title</field></field></doc>
>
> </add><?xml version="1.0" encoding="UTF-8"?><commit/>
>
>
> Is it possible to do this with the join functionality? If not, how would I
> do this?
>
> I'd appreciate any pointers or help on this.
>
>
> Jason
>
>
>


-- 
- sent from my mobile
6176064373

Reply via email to