lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matteo Grolla <matteo.gro...@gmail.com>
Subject Re: query(subquery, default) filters results
Date Fri, 09 May 2014 12:30:08 GMT
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.grolla@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


Mime
View raw message