The special key "v" is described on the linked LocalParams page. That should be enough context, right?
-Yonik http://www.lucidimagination.com On Wed, Jun 10, 2009 at 5:30 PM, Apache Wiki <[email protected]> wrote: > Dear Wiki user, > > You have subscribed to a wiki page or wiki category on "Solr Wiki" for change > notification. > > The following page has been changed by MarkBennett: > http://wiki.apache.org/solr/FunctionQuery > > The comment on the change is: > Added TODO flag for mention of "via v" with no reference > > ------------------------------------------------------------------------------ > <!> ["Solr1.4"] > query(subquery, default) returns the score for the given subquery, or the > default value for documents not matching the query. Any type of subquery is > supported through either parameter dereferencing {{{$otherparam}}} or direct > specification of the query string in the LocalParams via "v". > > + /!\ :TODO: /!\ need to define "via v" > + > Example Syntax: '''q=product(popularity, query({!dismax v='solr > rocks'})''' returns the product of the popularity and the score of the dismax > query. > > Example Syntax: '''q=product(popularity, query($qq)&qq={!dismax}solr > rocks''' is equivalent to the previous query, using param dereferencing. >
