On Thu, Jul 15, 2010 at 11:51 AM, Rodrigo Rezende <rcreze...@gmail.com> 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}... so
using both is redundant.
If you want an embedded lucene query, then you could do

query({!lucene v='hello'})
  OR
query({!lucene v=$qq})  &  qq=hello
  OR, since lucene is the default query type
query($qq)  &  qq=hello

-Yonik
http://www.lucidimagination.com

Reply via email to