Thanks very much,
        i realized too late that that I skipped an important part of the wiki 
documentation "this example assumes /detType=func"

thanks a lot

Il giorno 06/mag/2014, alle ore 21:05, Yonik Seeley ha scritto:

> 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