This is an automated email from the ASF dual-hosted git repository.
epugh 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 9f62ca49fb1 Payload Score Parser: expand documentation's pointing to
Lucene javadocs (#2693)
9f62ca49fb1 is described below
commit 9f62ca49fb123537bd08a2ab9886acbf956cd910
Author: Christine Poerschke <[email protected]>
AuthorDate: Fri Feb 21 17:01:33 2025 +0000
Payload Score Parser: expand documentation's pointing to Lucene javadocs
(#2693)
---
gradle/documentation/pull-lucene-javadocs.gradle | 1 +
.../src/java/org/apache/solr/search/PayloadScoreQParserPlugin.java | 4 ++--
solr/solr-ref-guide/modules/query-guide/pages/other-parsers.adoc | 4 ++--
3 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/gradle/documentation/pull-lucene-javadocs.gradle
b/gradle/documentation/pull-lucene-javadocs.gradle
index 5fdc4a70040..85490b31901 100644
--- a/gradle/documentation/pull-lucene-javadocs.gradle
+++ b/gradle/documentation/pull-lucene-javadocs.gradle
@@ -49,6 +49,7 @@ configure(project(":solr:documentation")) {
javadocs group: 'org.apache.lucene', name: 'lucene-analysis-common',
classifier: 'javadoc'
javadocs group: 'org.apache.lucene', name: 'lucene-analysis-stempel',
classifier: 'javadoc'
javadocs group: 'org.apache.lucene', name: 'lucene-queryparser',
classifier: 'javadoc'
+ javadocs group: 'org.apache.lucene', name: 'lucene-queries', classifier:
'javadoc'
javadocs group: 'org.apache.lucene', name: 'lucene-spatial-extras',
classifier: 'javadoc'
}
diff --git
a/solr/core/src/java/org/apache/solr/search/PayloadScoreQParserPlugin.java
b/solr/core/src/java/org/apache/solr/search/PayloadScoreQParserPlugin.java
index 7039878ec86..c26853933cb 100644
--- a/solr/core/src/java/org/apache/solr/search/PayloadScoreQParserPlugin.java
+++ b/solr/core/src/java/org/apache/solr/search/PayloadScoreQParserPlugin.java
@@ -31,8 +31,8 @@ import org.apache.solr.schema.FieldType;
import org.apache.solr.util.PayloadUtils;
/**
- * Creates a PayloadScoreQuery wrapping a SpanQuery created from the input
value, applying text
- * analysis and constructing SpanTermQuery or SpanNearQuery based on number of
terms. <br>
+ * Creates a {@link PayloadScoreQuery} wrapping a SpanQuery created from the
input value, applying
+ * text analysis and constructing SpanTermQuery or SpanNearQuery based on
number of terms. <br>
* Other parameters: <br>
* <code>f</code>, the field (required) <br>
* <code>func</code>, payload function (min, max, or average; required) <br>
diff --git a/solr/solr-ref-guide/modules/query-guide/pages/other-parsers.adoc
b/solr/solr-ref-guide/modules/query-guide/pages/other-parsers.adoc
index 68a4c92b1c5..abc99fbcf1b 100644
--- a/solr/solr-ref-guide/modules/query-guide/pages/other-parsers.adoc
+++ b/solr/solr-ref-guide/modules/query-guide/pages/other-parsers.adoc
@@ -951,8 +951,8 @@ Payloads can be encoded on terms using either the
`DelimitedPayloadTokenFilter`
=== Payload Score Parser
-`PayloadScoreQParser` incorporates each matching term's numeric (integer or
float) payloads into the scores.
-The main query is parsed from the field type's query analysis into a
`SpanQuery` based on the value of the `operator` parameter below.
+`PayloadScoreQParser` incorporates each matching term's numeric (integer or
float) payloads into the scores via a
{lucene-javadocs}/queries/org/apache/lucene/queries/payloads/PayloadScoreQuery.html[PayloadScoreQuery]
that is wrapping a
{lucene-javadocs}/queries/org/apache/lucene/queries/spans/SpanQuery.html[SpanQuery].
+The main query is parsed from the field type's query analysis into the
`SpanQuery` based on the value of the `operator` parameter below.
This parser accepts the following parameters: