You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by mk...@apache.org on 2023/02/02 10:29:27 UTC
[solr] branch main updated: Describe pf in edismax
This is an automated email from the ASF dual-hosted git repository.
mkhl pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr.git
The following commit(s) were added to refs/heads/main by this push:
new e7dbd707ea0 Describe pf in edismax
e7dbd707ea0 is described below
commit e7dbd707ea0549ad840ce40fbd7509fffe482cac
Author: Mikhail Khludnev <mk...@users.noreply.github.com>
AuthorDate: Thu Feb 2 13:29:21 2023 +0300
Describe pf in edismax
Due to some reason pf param description was lost. Copying it from dismax page.
---
.../modules/query-guide/pages/edismax-query-parser.adoc | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/solr/solr-ref-guide/modules/query-guide/pages/edismax-query-parser.adoc b/solr/solr-ref-guide/modules/query-guide/pages/edismax-query-parser.adoc
index fd9a7adf5e2..4f425139df4 100644
--- a/solr/solr-ref-guide/modules/query-guide/pages/edismax-query-parser.adoc
+++ b/solr/solr-ref-guide/modules/query-guide/pages/edismax-query-parser.adoc
@@ -77,6 +77,12 @@ qq={!edismax qf=name}ipod
A Boolean parameter indicating if lowercase "and" and "or" should be treated the same as operators "AND" and "OR".
Defaults to `false`.
+`pf`::
+Phrase Fields.
+Once the list of matching documents has been identified using the `fq` and `qf` parameters, the `pf` parameter can be used to "boost" the score of documents in cases where all of the terms in the q parameter appear in close proximity.
++
+The format is the same as that used by the `qf` parameter: a list of fields and "boosts" to associate with each of them when making phrase queries out of the entire q parameter.
+
`ps`::
Phrase Slop.
The default amount of slop - distance between terms - on phrase queries built with `pf`, `pf2` and/or `pf3` fields (affects boosting).