Block Join Parent Query across children docs

2014-03-28 Thread mertens
Hello Solr Users, In my system I have multiple records belonging to users, and I need to perform a query to find users who have records that meet the criteria of that query. For example, if my record has the field "search" and I query for search:((item1 AND item2) NOT item3), I want to find all us

Re: Block Join Parent Query across children docs

2014-04-02 Thread mertens
; 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" <[hidden

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-07 Thread mertens
!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@.../msg96796.html<http://www.mail-archive.com/solr-user@lucene.apache.org/msg96796.html> > > &