Hello.
I am sorry for bad English.

I am using Solr4.7.1
I want to search date range query to multiValued field.

Then, I found solution.
http://wiki.apache.org/solr/SpatialForTimeDurations

The solution is almost perfect.

But some values, I got error message

#message
2014/08/10 23:28:12.558: ERROR: Fatal: 400: ERROR: [doc=12345] Error
adding field 'disp_date_range'='[201404180000 201408201908]'
msg=Index: 0, Size: 0

#schema.xml

<fieldType name="date_range" class="solr.SpatialRecursivePrefixTreeFieldType"
multiValued="true"
geo="false"
worldBounds="0 0 999912319999 999912319999"
distErrPct="0"
maxDistErr="1"
units="degrees" />

#data
<doc>
<field name="id">12345</field>
<field name="disp_date_range" update="set">201404180000 201408201908</field>
</doc>

I checked other values.
And there are some values that solr can not store.
For example,
202805041049 202805041049
201301041353 201301041353
200305281316 200305281316
200601011536 200601011536
203005271640 203005271640
201505211646 201505211646
202602071904 202602071904

Can anyone help please ?!

Thanks.
Shu Ogawa

Reply via email to