Query Parsing in Custom Request Handler

2009-01-16 Thread Hana
:59] +to:[1942-01-01T00:00:00 TO 1942-12-31T23:59:59])' So I do not not understand why the previous is not working when the boolean query is totally the same except for the 'Z' char for dates string. But as the simple query works it don't seems to be the reason of not working o

Re: Query Parsing in Custom Request Handler

2009-01-16 Thread Hana
Sorry to all, there was a terrible bug in my code. I should have checked whether the query was changed by (q.toString().equals(newQuery.toString()) instead of (q != newQuery)! Hana wrote: > > Hi > > I need a help with boolean queries in my custom RequestHandler. The >

Date Format in QueryParsing

2009-01-16 Thread Hana
rams(); String query = p.get(CommonParams.Q); Query q = QueryParsing.parseQuery(query, req.getSchema()); log.debug(q.toString()); // output the dates in -MM-dd'T'HH:mm:ss format Cheers! Hana -- View this message in context: http://www.nabble.com/Date-Format-in-QueryParsing-tp215056

Method toMultiMap(NamedList params) in SolrParams

2009-01-23 Thread Hana
o use the same array result.add(name,values); } } return result; } Cheers Hana -- View this message in context: http://www.nabble.com/Method-toMultiMap%28NamedList-params%29-in-SolrParams-tp21626588p21626588.html Sent from the Solr - User mailing list archive at Nabble.com.