Thanks Yonik and Chris for the the brief explanation. Me too was unknown about the behavior of query parser. Yonik can you help that how can i learn deeply about the query parsers and how to gain expertise in debug query.
With Regards Aman Tandon On Wed, May 7, 2014 at 12:35 AM, Yonik Seeley <yo...@heliosearch.com> wrote: > 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={!dismaxqf=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 >