Re: Nested Function Query Syntax

2010-07-15 Thread Rodrigo Rezende
Thank you, that works fine! On Thu, Jul 15, 2010 at 2:01 PM, Yonik Seeley wrote: > On Thu, Jul 15, 2010 at 12:49 PM, Rodrigo Rezende wrote: >> Yeah, it is redundant, but I am using that to use the solr query >> response as input of a plugin function: >> >> http://localhost:8983/solr/articles.0/s

Re: Nested Function Query Syntax

2010-07-15 Thread Yonik Seeley
On Thu, Jul 15, 2010 at 12:49 PM, Rodrigo Rezende wrote: > Yeah, it is redundant, but I am using that to use the solr query > response as input of a plugin function: > > http://localhost:8983/solr/articles.0/select/?q={!func}myFunction(query({!query > v='the query string here'})) This might be ea

Re: Nested Function Query Syntax

2010-07-15 Thread Rodrigo Rezende
Yeah, it is redundant, but I am using that to use the solr query response as input of a plugin function: http://localhost:8983/solr/articles.0/select/?q={!func}myFunction(query({!query v='the query string here'})) So in myFunction I can take the query results, with the score, and write my custom

Re: Nested Function Query Syntax

2010-07-15 Thread Yonik Seeley
On Thu, Jul 15, 2010 at 11:51 AM, Rodrigo Rezende wrote: > I solved the problem. > The correct syntax is: > > http://localhost:8983/solr/articles.0/select/?q={!func}query({!query > v='hello'})&fl=Document.title,score,&debugQuery=on query() causes a new QParser to be created. so does {!query}...

Re: Nested Function Query Syntax

2010-07-15 Thread Rodrigo Rezende
I solved the problem. The correct syntax is: http://localhost:8983/solr/articles.0/select/?q={!func}query({!query v='hello'})&fl=Document.title,score,&debugQuery=on Rodrigo On Thu, Jul 15, 2010 at 12:32 PM, Rodrigo Rezende wrote: > Hello, > > I am trying to use function nested query syntax w