This is an automated email from the ASF dual-hosted git repository.

cpoerschke pushed a commit to branch branch_9x
in repository https://gitbox.apache.org/repos/asf/solr.git


The following commit(s) were added to refs/heads/branch_9x by this push:
     new d0d94a90bb6 correct prod[uct] function queries in Solr Ref Guide 
examples (#3655)
d0d94a90bb6 is described below

commit d0d94a90bb6705aa7730dbda09049cdaaf5d5928
Author: Christine Poerschke <[email protected]>
AuthorDate: Mon Sep 15 14:30:55 2025 +0100

    correct prod[uct] function queries in Solr Ref Guide examples (#3655)
    
    * update common-query-parameters.adoc w.r.t. prod[uct] function query
    
    * update json-facet-api.adoc w.r.t. prod[uct] function query
    
    (cherry picked from commit 57ebb85f5f30b0f70bbeaf2f57459297a6e699fa)
---
 .../modules/query-guide/pages/common-query-parameters.adoc              | 2 +-
 solr/solr-ref-guide/modules/query-guide/pages/json-facet-api.adoc       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/solr/solr-ref-guide/modules/query-guide/pages/common-query-parameters.adoc 
b/solr/solr-ref-guide/modules/query-guide/pages/common-query-parameters.adoc
index eca63e25d36..ae96bc0eb4d 100644
--- a/solr/solr-ref-guide/modules/query-guide/pages/common-query-parameters.adoc
+++ b/solr/solr-ref-guide/modules/query-guide/pages/common-query-parameters.adoc
@@ -253,7 +253,7 @@ For example, `why_score` is the display name below:
 
 [source,text]
 ----
-fl=id,sales_price:price,secret_sauce:prod(price,popularity),why_score:[explain 
style=nl]
+fl=id,sales_price:price,secret_sauce:product(price,popularity),why_score:[explain
 style=nl]
 ----
 
 [source,json]
diff --git a/solr/solr-ref-guide/modules/query-guide/pages/json-facet-api.adoc 
b/solr/solr-ref-guide/modules/query-guide/pages/json-facet-api.adoc
index bc73fb5314d..b08efe0228f 100644
--- a/solr/solr-ref-guide/modules/query-guide/pages/json-facet-api.adoc
+++ b/solr/solr-ref-guide/modules/query-guide/pages/json-facet-api.adoc
@@ -824,7 +824,7 @@ Only after the top candidate buckets have been refined, 
will the actual `sort` b
     "prelim_sort": "sales_rank desc",
     "sort": "prod_quality desc",
     "facet": {
-      "prod_quality": 
"avg(div(prod(rating,sales_rank),prod(num_returns,price)))"
+      "prod_quality": 
"avg(div(product(rating,sales_rank),product(num_returns,price)))"
       "sales_rank": "sum(sales_rank)"
     }
   }

Reply via email to