Re: adding date column to the index

2013-07-23 Thread Mysurf Mail
How do I cast datetimeoffset(7)) to solr date On Tue, Jul 23, 2013 at 11:11 AM, Mysurf Mail wrote: > Ahaa > I deleted the data folder and now I get > Invalid Date String:'2010-01-01 00:00:00 +02:00' > I need to cast it to solr. as I read it in the schema using > > stored="true" required="true"

Re: adding date column to the index

2013-07-23 Thread Mysurf Mail
Ahaa I deleted the data folder and now I get Invalid Date String:'2010-01-01 00:00:00 +02:00' I need to cast it to solr. as I read it in the schema using On Tue, Jul 23, 2013 at 10:50 AM, Gora Mohanty wrote: > On 23 July 2013 11:13, Mysurf Mail wrote: > > clarify: I did deleted the data in t

Re: adding date column to the index

2013-07-23 Thread Gora Mohanty
On 23 July 2013 11:13, Mysurf Mail wrote: > clarify: I did deleted the data in the index and reloaded it (+ commit). > (As i said, I have seen it loaded in the sb profiler) [...] Please share your DIH configuration file, and Solr's schema.xml. It must be that somehow the column is not getting ind

Re: adding date column to the index

2013-07-22 Thread Mysurf Mail
clarify: I did deleted the data in the index and reloaded it (+ commit). (As i said, I have seen it loaded in the sb profiler) Thanks for your comment. On Mon, Jul 22, 2013 at 9:25 PM, Lance Norskog wrote: > Solr/Lucene does not automatically add when asked, the way DBMS systems > do. Instead,

Re: adding date column to the index

2013-07-22 Thread Lance Norskog
Solr/Lucene does not automatically add when asked, the way DBMS systems do. Instead, all data for a field is added at the same time. To get the new field, you have to reload all of your data. This is also true for deleting fields. If you remove a field, that data does not go away until you re-

Re: adding date column to the index

2013-07-22 Thread Gora Mohanty
On 22 July 2013 20:01, Mysurf Mail wrote: > > I have added a date field to my index. > I dont want the query to search on this field, but I want it to be > returned > with each row. > So I have defined it in the scema.xml as follows: >stored="true" required="true"/> > > > > I added it to t

adding date column to the index

2013-07-22 Thread Mysurf Mail
I have added a date field to my index. I dont want the query to search on this field, but I want it to be returned with each row. So I have defined it in the scema.xml as follows: I added it to the select in data-config.xml and I see it selected in the profiler. now, when I query all file