Re: Predicting Date Field at Schemaless Mode

2017-03-13 Thread Alexandre Rafalovitch
And this is happening when the type is defined for the first time? You have no field, you send documents, you get new field defined and it is String, not Date? What's the value the field actually stores? Regards, Alex. http://www.solr-start.com/ - Resources for Solr users, new and

Re: Predicting Date Field at Schemaless Mode

2017-03-13 Thread Furkan KAMACI
Everything works well but type is predicted as String instead of Date. I create just plain documents as follows: SimpleDateFormat simpleDateFormat = new SimpleDateFormat("-MM-dd'T'HH:mm"); Calendar startDate = new GregorianCalendar(2017, r.nextInt(6), r.nextInt(28));

Re: Predicting Date Field at Schemaless Mode

2017-03-13 Thread Alexandre Rafalovitch
Any other definitions in that URP chain are triggered? Are you seeing this in a nested document by any chance? Regards, Alex. http://www.solr-start.com/ - Resources for Solr users, new and experienced On 13 March 2017 at 10:29, Furkan KAMACI wrote: > Hi, > >

Predicting Date Field at Schemaless Mode

2017-03-13 Thread Furkan KAMACI
Hi, I'm testing schemaless mode of Solr 6.4.2. Solr predicts fields types when I generate dummy data and index it to Solr. However I could not make Solr to predict date fields. I tried that: "custom_start":["2017-05-16T00:00"] which is a date parse result of