[ 
https://issues.apache.org/jira/browse/SOLR-9351?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15412078#comment-15412078
 ] 

Yonik Seeley commented on SOLR-9351:
------------------------------------

"stream" is fundamentally about not materializing the full result, but 
calculating it as the response is being streamed back.
It currently only supports sort="index asc", but we could support other sort 
orders and still stream I suppose.

bq.  if limit is -1 or is a number that is at a decent proportion of the known 
available terms, then "stream" makes sense to me. And also, provided that the 
"base" docset (aka input domain) is large.

I think we need to compare the input domain vs the estimated number of terms in 
the field.

> JSON Facet field should sometimes default to facet.method=stream
> ----------------------------------------------------------------
>
>                 Key: SOLR-9351
>                 URL: https://issues.apache.org/jira/browse/SOLR-9351
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: David Smiley
>
> The {{method}} on a field/term facet could be automatically set to "stream" 
> in some cases and get better results?.  For example if {{limit}} is -1 or is 
> a number that is at a decent proportion of the known available terms, then 
> "stream" makes sense to me.  And also, provided that the "base" docset (aka 
> input domain) is large.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to