mirror of https://github.com/apache/lucene.git
SOLR-11834: ref-guide: [subquery] doesn't need top level fl to repeat subq.fl
This commit is contained in:
parent
2900bb597d
commit
42832f8839
|
@ -250,14 +250,12 @@ Here is how it looks like in various formats:
|
||||||
|
|
||||||
==== Subquery Result Fields
|
==== 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]
|
[source,plain]
|
||||||
----
|
----
|
||||||
fl=...title,categories:[subquery]&categories.fl=title&categories.q=...
|
fl=...id,categories:[subquery]&categories.fl=title&categories.q=...
|
||||||
fl=...title,categories:[subquery]&categories.fl=*&categories.q=...
|
fl=...id,categories:[subquery]&categories.fl=*&categories.q=...
|
||||||
fl=...*,categories:[subquery]&categories.fl=*&categories.q=...
|
|
||||||
fl=...*,categories:[subquery]&categories.fl=*&categories.q=...
|
|
||||||
----
|
----
|
||||||
|
|
||||||
==== Subquery Parameters Shift
|
==== Subquery Parameters Shift
|
||||||
|
|
Loading…
Reference in New Issue