Re: Block Join Parent Query across children docs

2014-04-07 Thread mertens
Yeah, that works also for me. Thanks Mikhail. On Mon, Apr 7, 2014 at 12:42 PM, Mikhail Khludnev [via Lucene] < ml-node+s472066n4129604...@n3.nabble.com> wrote: > for sake of completeness, here is the same query w/o fq > > q=+{!parent which=type_s:parent}search_t:item1 +{!parent > which=type_s:pa

Re: Block Join Parent Query across children docs

2014-04-07 Thread Mikhail Khludnev
for sake of completeness, here is the same query w/o fq q=+{!parent which=type_s:parent}search_t:item1 +{!parent which=type_s:parent}search_t:item2 -{!parent which=type_s:parent}search_t:item3 here is more detail about the first symbol magic http://www.mail-archive.com/solr-user@lucene.apache.org

Re: Block Join Parent Query across children docs

2014-04-07 Thread mertens
Thanks Hoss, with the filter queries it works. I was trying to use a normal query from Mikhail's blog that looked like this: q={!parent which=type_s:parent}+search_t:item1 +search_t:item2 -search_t:item3 That query doesn't work for me but the filter query does just what I want. ps last years stu

Re: Block Join Parent Query across children docs

2014-04-02 Thread Chris Hostetter
: Thanks for your response. Here is an example of what I'm trying to do. If I : had the following documents: what you are attempting is fairly trivial -- you want to query for all parent documents, then kapply 3 filters: * parent of a child matching item1 * parent of a child matching item2 *

Re: Block Join Parent Query across children docs

2014-04-02 Thread mertens
Hi Mikhail, Thanks for your response. Here is an example of what I'm trying to do. If I had the following documents: 10 parent User1 11 item1, item6 12 item2, item7 13 item3, item8

Re: Block Join Parent Query across children docs

2014-03-29 Thread Mikhail Khludnev
Hello Luke, If I get you right, you need to combine parent (block join) queries e.g users who have a record with item1 AND users who have a record with item2. Does it make sense? If it does, do you need to figure out a syntax? 28.03.2014 14:19 пользователь "mertens" написал: > Hello Solr Users,