BB, You can set the versoin param default in solrconfig.xml. Here is a snippet:
<requestHandler name="standard" class="solr.SearchHandler" default="true"> <!-- default values for query parameters --> <lst name="defaults"> <str name="echoParams">explicit</str> <int name="rows">10</int> <str name="fl">*</str> <str name="version">2.1</str> <===== look mom, no hands! ... Otis ---- Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch Lucene ecosystem search :: http://search-lucene.com/ ----- Original Message ---- > From: bbarani <bbar...@gmail.com> > To: solr-user@lucene.apache.org > Sent: Wed, June 16, 2010 11:02:06 AM > Subject: Is there a way to set the default response handler version to 2.2 > > Hi, I am facing issues in getting back the response header correctly > in different OS (Windows / Linux). I could see that in windows OS, the > version of response handler is set to 2.2 by default and even without > specifying the version in the query I am getting the proper response > header. In Linux machine (same SOLR instance), sometimes I get proper > response header (ver 2.2) when doing a query but sometimes I get the old (ver > 2.0) response header. If I specify the version (2.2) in my query I am > getting back the proper response header. Is there a way to set the > response handler version (to set 2.2 as a > default version). Thanks, BB -- View this message in > context: > href="http://lucene.472066.n3.nabble.com/Is-there-a-way-to-set-the-default-response-handler-version-to-2-2-tp899989p899989.html" > > target=_blank > >http://lucene.472066.n3.nabble.com/Is-there-a-way-to-set-the-default-response-handler-version-to-2-2-tp899989p899989.html Sent > from the Solr - User mailing list archive at Nabble.com.