Hi All,

I was reading the Apache Solr Reference Guide - Working with Dates

https://cwiki.apache.org/confluence/display/solr/Working+with+Dates#WorkingwithDates-MoreDateRangeFieldDetails

And I found this filter query pretty interesting for me, so I was trying to
use it with a TrieDateField

fq={!field f=Data_Ingresso op=Contains}[2013 TO 2018]

<fieldType name="date" class="solr.TrieDateField" sortMissingLast="true"
omitNorms="true" />
<field name="Data_Ingresso" type="date" indexed="true" stored="true"
multiValued="false" />

But trying the example I get this error:

Invalid Date String:'[2013 TO 2018]'

Could someone please help me to understand in what I'm wrong?

Best regards,
Vincenzo

-- 
Vincenzo D'Amore
email: v.dam...@gmail.com
skype: free.dev
mobile: +39 349 8513251

Reply via email to