Hi,

I have a requirement to fetch all data from a collection. One way is to use
streaming expression and other way is to use export.

Streaming expression documentation says *streaming functions are designed
to work with entire result sets rather then the top N results like normal
search. This is supported by the /export handler.*

Also, Export handler documentation says *this feature uses a stream sorting
technique that begins to send records within milliseconds and continues to
stream results until the entire result set has been sorted and exported.*

These two statements concludes to me that for fetching entire results
streaming expressions uses export handler and export handler uses stream,
so, whether I use streaming expression or export handler, they are
internally same and would have same performance. I am correct over here to
say so ?


Ref Links:

https://lucene.apache.org/solr/guide/6_6/streaming-expressions.html
https://lucene.apache.org/solr/guide/6_6/exporting-result-sets.html


Regards
Kamal Kishore

Reply via email to