Re: not range query in block join

2018-08-22 Thread Novin Novin
Thanks you very much guys for help. On Wed, 22 Aug 2018 at 10:02 Mikhail Khludnev wrote: > q={!parent which=type_s:parent}+type_s:child > -time_tdt:[2018-08-01T16:00:00Z TO 2018-08-04T15:59:59Z] > or > q={!parent which=type_s:parent v=$cq}&cq=+type_s:child > -time_tdt:[2018-08-01T16:00:00Z TO 20

Re: not range query in block join

2018-08-22 Thread Mikhail Khludnev
q={!parent which=type_s:parent}+type_s:child -time_tdt:[2018-08-01T16:00:00Z TO 2018-08-04T15:59:59Z] or q={!parent which=type_s:parent v=$cq}&cq=+type_s:child -time_tdt:[2018-08-01T16:00:00Z TO 2018-08-04T15:59:59Z] On Tue, Aug 21, 2018 at 7:13 PM Novin Novin wrote: > Hi Guys, > > I was try to

Re: not range query in block join

2018-08-21 Thread Erick Erickson
pure not queries are spottily supported and can work (or not) depending on where they're used, they often need to be translated from -some_clause to *:* -some_clause Solr/Lucene do not implement pure boolean logic, which often throws people. See: https://lucidworks.com/2011/12/28/why-not-and-or-

not range query in block join

2018-08-21 Thread Novin Novin
Hi Guys, I was try to do block join query with "not". I got not success, can anybody please help me out here. This works q=+_query_:"{!parent which=type_s:parent} +time_tdt:[2018-08-01T16:00:00Z TO 2018-08-04T15:59:59Z]" This works q=-time_tdt:[2018-08-01T16:00:00Z TO 2018-08-04T15:59:59Z] Thi