You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by mk...@apache.org on 2018/01/17 19:54:42 UTC

lucene-solr:branch_7x: SOLR-11834: ref-guide: [subquery] doesn't need top level fl to repeat subq.fl

Repository: lucene-solr
Updated Branches:
  refs/heads/branch_7x 777b75c95 -> edb59ae49


SOLR-11834: ref-guide: [subquery] doesn't need top level fl to repeat subq.fl


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/edb59ae4
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/edb59ae4
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/edb59ae4

Branch: refs/heads/branch_7x
Commit: edb59ae49b236fd3e368c030ca290ac9b57b2dcb
Parents: 777b75c
Author: Mikhail Khludnev <mk...@apache.org>
Authored: Wed Jan 17 22:51:27 2018 +0300
Committer: Mikhail Khludnev <mk...@apache.org>
Committed: Wed Jan 17 22:53:42 2018 +0300

----------------------------------------------------------------------
 solr/solr-ref-guide/src/transforming-result-documents.adoc | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/edb59ae4/solr/solr-ref-guide/src/transforming-result-documents.adoc
----------------------------------------------------------------------
diff --git a/solr/solr-ref-guide/src/transforming-result-documents.adoc b/solr/solr-ref-guide/src/transforming-result-documents.adoc
index 09ae314..1a0104f 100644
--- a/solr/solr-ref-guide/src/transforming-result-documents.adoc
+++ b/solr/solr-ref-guide/src/transforming-result-documents.adoc
@@ -250,14 +250,12 @@ Here is how it looks like in various formats:
 
 ==== Subquery Result Fields
 
-To appear in subquery document list, a field should be specified both fl parameters, in main one fl (despite the main result documents have no this field) and in subquery's one e.g., `foo.fl`. Of course, you can use wildcard in any or both of these parameters. For example, if field title should appear in categories subquery, it can be done via one of these ways.
+To appear in subquery document list, a field should be specified in subquery's `fl` parameter e.g., `foo.fl` (it is not necessary to specify in main one's `fl`). Of course, you can use wildcard in this parameter. For example, if field title should appear in categories subquery, it can be done via one of these ways.
 
 [source,plain]
 ----
-fl=...title,categories:[subquery]&categories.fl=title&categories.q=...
-fl=...title,categories:[subquery]&categories.fl=*&categories.q=...
-fl=...*,categories:[subquery]&categories.fl=*&categories.q=...
-fl=...*,categories:[subquery]&categories.fl=*&categories.q=...
+fl=...id,categories:[subquery]&categories.fl=title&categories.q=...
+fl=...id,categories:[subquery]&categories.fl=*&categories.q=...
 ----
 
 ==== Subquery Parameters Shift