Re: Passing variables as values in Query Filter

2014-01-08 Thread Kranti Parisa
did you try this? q={!func}customfunc($v1)&v1=somevalue&qf=fieldname more info http://wiki.apache.org/solr/FunctionQuery Thanks, Kranti K. Parisa http://www.linkedin.com/in/krantiparisa On Wed, Jan 8, 2014 at 2:22 AM, Mukundaraman valakumaresan < muk...@8kmiles.com> wrote: > Hi Ahmet, > > Th

Re: Passing variables as values in Query Filter

2014-01-07 Thread Mukundaraman valakumaresan
Hi Ahmet, Thanks a lot What I need is this . q={!lucene df=city v=$qq}&qq=customfunc(x) In this case, qq=custfunc(x) --> where custfunc is a custom function that has to be executed. Instead, how it acts now is, it takes it as a string to search if qq is a number, you will get a NumberFormatExce

Re: Passing variables as values in Query Filter

2014-01-07 Thread Ahmet Arslan
Hi Mukund, I am not sure what you are after but may be you can use this : q={!lucene df=city v=$qq}&qq=Adyar https://cwiki.apache.org/confluence/display/solr/Local+Parameters+in+Queries Ahmet On Tuesday, January 7, 2014 3:39 PM, Mukundaraman valakumaresan wrote: Hi The following query e