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 ShalinMangar: http://wiki.apache.org/solr/FunctionQuery The comment on the change is: Missing closing bracket in query examples ------------------------------------------------------------------------------ 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. + Example Syntax: '''q=product(popularity, query($qq))&qq={!dismax}solr rocks''' is equivalent to the previous query, using param dereferencing. - Example Syntax: '''q=product(popularity, query($qq,0.1)&qq={!dismax}solr rocks''' specifies a default score of 0.1 for documents that don't match the dismax query. + Example Syntax: '''q=product(popularity, query($qq,0.1))&qq={!dismax}solr rocks''' specifies a default score of 0.1 for documents that don't match the dismax query. == linear == linear(x,m,c) implements m*x+c where m and c are constants and x is an arbitrary function. This is equivalent to '''sum(product(m,x),c)''', but slightly more efficient as it is implemented as a single function.
