Hmmm, my first question is whether you really mean 4.1.0 Or 4.10? Because if it's the former I really have to ask why you'e use such an old version. I'm assuming that's a typo.....
BTW, 4.10.2 is being released as we speak, so you'll really want to consider using that version assuming you meant 4.10.... That said, I have no real help to give here..... Best, Erick On Wed, Oct 29, 2014 at 1:51 PM, nbosecker <nbosec...@gmail.com> wrote: > I've inherited some code that filters requests for ACL by implementing a > servlet Filter and wrapping the request to add parameters (user/groups) to > the request as fq, and also handling getParameter()/getParameterMap() that > Solr invokes to get those values from the request. > > Solrconfig.xml has placeholders for the parameters that are injected when > those methods are invoked: > <lst name="appends"> > <str name="fq">{!acl user=$user groups=$groups}</str> > </lst> > > This all works exactly as expected using Solr 4.0.0 with Tomcat. > > I'm attempting to upgrade to Solr 4.1.0, and these values are no longer > injected. I've traced the problem to the fact that Solr no longer invokes > getParameter()/getParameterMap() on my filtered, wrapped request as it did > in 4.0.0. > > I note that in 4.0.0, the package org.apache.solr.request contained > ServletSolrParams class that was used to get the parameters from the request > using getParameters()/getParameterMap(). > > 4.1.0 version of org.apache.solr.request no longer contains > ServletSolrParams, but there is no mention of this deprecation in the > release notes for Solr 4.1.0. > > Is there a new standard way to access a filtered request with Solr 4.1.0? > Why don't the release notes for 4.1.0 mention this class deprecation? > > Thanks for your help! > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/v4-0-upgrade-to-v4-1-with-custom-fq-tp4166520.html > Sent from the Solr - User mailing list archive at Nabble.com.