Skip to content

Apache Lucene open-source search software

Solr Ref Guide: sample syntax anchor

Joel Bernstein54469791b6d0
diff --git a/solr/solr-ref-guide/src/collapse-and-expand-results.adoc b/solr/solr-ref-guide/src/collapse-and-expand-results.adoc
index 23d383994b9..d879c6fa6a9 100644
--- a/solr/solr-ref-guide/src/collapse-and-expand-results.adoc
+++ b/solr/solr-ref-guide/src/collapse-and-expand-results.adoc
@@ -74,7 +74,7 @@ The data structures used for collapsing grow dynamically when collapsing on nume
The default is 100,000.
-=== Sample Syntax
+=== Sample Usage Syntax
Collapse on `group_field` selecting the document in each group with the highest scoring document:
diff --git a/solr/solr-ref-guide/src/stream-evaluator-reference.adoc b/solr/solr-ref-guide/src/stream-evaluator-reference.adoc
index ade471e018c..5b80d847c93 100644
--- a/solr/solr-ref-guide/src/stream-evaluator-reference.adoc
+++ b/solr/solr-ref-guide/src/stream-evaluator-reference.adoc
@@ -1577,7 +1577,7 @@ The `sample` function can be used to draw random samples from a probability dist
Either a single numeric random sample, or a numeric array depending on the sample size parameter.
-=== sample function Syntax
+=== sample Syntax
[source,text]
sample(normalDistribution(50, 5)) // Return a single random sample from a normalDistribution with mean of 50 and standard deviation of 5.