ameliahenderson commented on a change in pull request #1334: SOLR-8306: Enhance 
ExpandComponent to allow expand.hits=0
URL: https://github.com/apache/lucene-solr/pull/1334#discussion_r393158282
 
 

 ##########
 File path: solr/solr-ref-guide/src/collapse-and-expand-results.adoc
 ##########
 @@ -142,6 +142,8 @@ The “expand=true” parameter turns on the ExpandComponent. 
The ExpandComponen
 
 Inside the expanded section there is a _map_ with each group head pointing to 
the expanded documents that are within the group. As applications iterate the 
main collapsed result set, they can access the _expanded_ map to retrieve the 
expanded groups.
 
+If you would like to have only the number of documents found from the groups 
in the expanded section returned and not the actual documents, you can set 
"expand.rows=0". Note that when using "expand.rows=0", score won’t be computed 
for the expanded section even when requested so maxScore will not be available.
 
 Review comment:
   Updated. Please let me know if it's still in wrong place

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to