What's wrong with this Solr range filter query?

前端 未结 4 718
[愿得一人]
[愿得一人] 2020-12-20 21:29

The following filter query returns zero results (using *:* as query):

-startDate:[* TO *] OR startDate:[* TO NOW/DAY+1DAY]

But if I filter

4条回答
  •  不知归路
    2020-12-20 22:11

    Pure negative queries don't work, because they are omitting results from nothing.

    Try:

    : AND -startDate:[* TO *]

提交回复
热议问题