You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ab...@apache.org on 2018/08/09 19:27:18 UTC

[16/17] lucene-solr:jira/solr-12470: SOLR-11834: rollback [subquery] fields documentation

SOLR-11834: rollback [subquery] fields documentation


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

Branch: refs/heads/jira/solr-12470
Commit: 63fc1246f7d30c73bff0fdbf344216a34efdc554
Parents: 6c11284
Author: Mikhail Khludnev <mk...@apache.org>
Authored: Thu Aug 9 20:27:35 2018 +0300
Committer: Mikhail Khludnev <mk...@apache.org>
Committed: Thu Aug 9 20:28:45 2018 +0300

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


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/63fc1246/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 f837baf..f9fe805 100644
--- a/solr/solr-ref-guide/src/transforming-result-documents.adoc
+++ b/solr/solr-ref-guide/src/transforming-result-documents.adoc
@@ -251,12 +251,15 @@ Here is how it looks like in various formats:
 
 ==== Subquery Result Fields
 
-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.
+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.
 
 [source,plain]
 ----
-fl=...id,categories:[subquery]&categories.fl=title&categories.q=...
-fl=...id,categories:[subquery]&categories.fl=*&categories.q=...
+fl=...title,categories:[subquery]&categories.fl=title&categories.q=...
+fl=...title,categories:[subquery]&categories.fl=*&categories.q=...
+fl=...*,categories:[subquery]&categories.fl=title&categories.q=...
+fl=...*,categories:[subquery]&categories.fl=*&categories.q=...
 ----
 
 ==== Subquery Parameters Shift