How to filter query in solr by date?

前端 未结 3 635
我在风中等你
我在风中等你 2021-02-02 07:27

In my SOLR there is date field(published_date) and values are in this format \"2012-09-26T10:08:09.123Z\"

How I can search by simple input like \"2012-09-10\" i

3条回答
  •  走了就别回头了
    2021-02-02 08:07

    If you want to search simple dd-MM-yyyy so, Your Date - "2012-09-26T10:08:09.123Z"

    In Solr ---Common----- q Date:[26-09-2019 TO 02-10-2019] It gives all data between above range..

提交回复
热议问题