it does work! Le 18 févr. 2011 à 20:48, Paul Libbrecht a écrit :
> using rb.req.getParams().get("blip") inside prepare(ResponseBuilder)'s > subclass of QueryComponent I could easily get the extra http request param. > > However, how would I change the query? > using rb.setQuery(xxx) within that same prepare method seems to have no > effect. Sorry for the noise, it does have the exact desired effect. Nice pattern. I believe everyone needs query expansion except maybe if using Dismax. paul > > Le 18 févr. 2011 à 19:51, Tommaso Teofili a écrit : > >> Hi Paul, >> me and a colleague worked on a QParserPlugin to "expand" alias field names >> to many existing field names >> ex: q=mockfield:val ==> q=actualfield1:val OR actualfield2:val >> but if you want to be able to use other params that come from the HTTP >> request you should use a custom RequestHandler I think, >> My 2 cents, >> Tommaso >