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-and-not/

Best,
Erick

On Tue, Aug 21, 2018 at 9:13 AM, Novin Novin <toe.al...@gmail.com> wrote:
> 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]
>
> This does not work     q=+_query_:"{!parent which=type_s:parent}
> -time_tdt:[2018-08-01T16:00:00Z
> TO 2018-08-04T15:59:59Z]"
>
> Did I missed something?
>
> Thanks in advanced.
> Bests,
> Novin

Reply via email to