Re: facet.field problem in SolrParams to NamedList

2009-12-16 Thread Nestor Oviedo
Hi Hoss I changed my code to use the AppendedSolrParams and it worked perfectly. I'm opening a bug today with my simple test case. Tank you very much for your help Regards Nestor On Tue, Dec 15, 2009 at 6:39 PM, Chris Hostetter wrote: > > : Ej.: "q=something field:value" becomes "q=something

Re: facet.field problem in SolrParams to NamedList

2009-12-15 Thread Chris Hostetter
: Ej.: "q=something field:value" becomes "q=something value&fq=field:value" : : To do this, in the createParser method, I apply a regular expression : to the qstr param to obtain the fq part, and then I do the following: : : NamedList paramsList = params.toNamedList(); : paramsList.add(CommonPar

facet.field problem in SolrParams to NamedList

2009-12-15 Thread Nestor Oviedo
Hi! I wrote a subclass of DisMaxQParserPlugin to add a little filter for processing the "q" param and generate a "fq" param. Ej.: "q=something field:value" becomes "q=something value&fq=field:value" To do this, in the createParser method, I apply a regular expression to the qstr param to obtain th