Re: solr date parsing issue

2009-03-27 Thread Shalin Shekhar Mangar
On Sat, Mar 28, 2009 at 8:17 AM, Suryasnat Das wrote: > Hi, > > I am implementing a project using SOLR in which we need to do a search > based > on date range. I am passing the date in SOLR date format. During formation > of the SOLR query i am encoding the date string using UTF-8 encoding. After

Re: solr date parsing issue

2009-03-27 Thread Kurt Nordstrom
ting the search request to SOLR by > using Apache's HTTPClient class. But during posting it says invalid query. > How to resolve this? > please i need a resolution on a immediate basis. Thanks in advance. > > Regards > Suryasnat Das > Infosys > > -- Vi

solr date parsing issue

2009-03-27 Thread Suryasnat Das
Hi, I am implementing a project using SOLR in which we need to do a search based on date range. I am passing the date in SOLR date format. During formation of the SOLR query i am encoding the date string using UTF-8 encoding. After forming the whole query string i am posting the search request to

Re: Solr date parsing issue

2009-03-27 Thread Giovanni De Stefano
Hello, yes, I use both: I have a multicore architecture, multiple indexes but I have been able to manage a common schema. Giovanni On 3/27/09, Shalin Shekhar Mangar wrote: > > On Sat, Mar 28, 2009 at 12:46 AM, Giovanni De Stefano < > giovanni.destef...@gmail.com> wrote: > > > Hello, > > > > th

Re: Solr date parsing issue

2009-03-27 Thread Shalin Shekhar Mangar
On Sat, Mar 28, 2009 at 12:46 AM, Giovanni De Stefano < giovanni.destef...@gmail.com> wrote: > Hello, > > the problem is that I use both Solrj and DIH but I would like to perform > such a change only in 1 place. > > Is there any way to do it? Otherwise I will stick with the other > approach... >

Re: Solr date parsing issue

2009-03-27 Thread Giovanni De Stefano
Hello, the problem is that I use both Solrj and DIH but I would like to perform such a change only in 1 place. Is there any way to do it? Otherwise I will stick with the other approach... Cheers, Giovanni On 3/27/09, Shalin Shekhar Mangar wrote: > > On Fri, Mar 27, 2009 at 8:17 PM, Giovanni D

Re: Solr date parsing issue

2009-03-27 Thread Shalin Shekhar Mangar
On Fri, Mar 27, 2009 at 8:17 PM, Giovanni De Stefano < giovanni.destef...@gmail.com> wrote: > Hello, > > I am having a problem indexing a date field. > > In my schema the date field is defined the standard way: > > omitNorms="true"/> > > I know the Solr format is 1995-12-31T23:59:59Z, but the dat

Solr date parsing issue

2009-03-27 Thread Giovanni De Stefano
Hello, I am having a problem indexing a date field. In my schema the date field is defined the standard way: I know the Solr format is 1995-12-31T23:59:59Z, but the dates coming from my "sources" are in the format 2009-04-10T02:02:55+0200 How can I make the conversion? Do I have to extend Da