On Tue, May 6, 2014 at 5:08 AM, Matteo Grolla <matteo.gro...@gmail.com> wrote:
> Hi everybody,
>         I'm having troubles with the function query
>
> "query(subquery, default)"                      
> http://wiki.apache.org/solr/FunctionQuery#query
>
> running this
>
> http://localhost:8983/solr/select?q=query($qq,1)&qq={!dismax qf=text}hard 
> drive

The default query syntax is lucene, so "query(..." will just be parsed as text.
Try q={!func}query($qq,1)
OR
defType=func&q=query($qq,1)

-Yonik
http://heliosearch.org - facet functions, subfacets, off-heap filters
+ fieldcache

Reply via email to