try to search all children remove those who has a value1 by dash, then join remaining q={!parent which=contentType:parent}contentType:child -contentType:value1 if the space in underneath query causes the problem try to escape it or wrap to v=$subq
On Tue, Feb 17, 2015 at 4:13 PM, Sankalp Gupta <sankalp.gu...@snapdeal.com> wrote: > Hi > > I need to have a query in which I need to choose only those parent docs > none of whose children's field is having the specified value. > i.e. I need something like this: > http://localhost:8983/solr/core1/select?*q={!parent > which=contentType:parent}childField:NOT value1* > > The problem is* NOT operator is not being supported* in the Block Join > Query Parsers. Could anyone please suggest a way to workaround this > problem? > Have also added the problem on *stackoverflow*: > > http://stackoverflow.com/questions/28562355/in-solr-does-block-join-query-parsers-lack-regular-expression-feature > > Regards > Sankalp Gupta > -- Sincerely yours Mikhail Khludnev Principal Engineer, Grid Dynamics <http://www.griddynamics.com> <mkhlud...@griddynamics.com>