First I’d make sure that you were using the same query parser in both 
situations. 

Second, export is specific to a core, it is not cloud-aware so if this is 
SolrCloud I’d expect major differences, which you haven’t told us about, off by 
5? 10,000?.

Third, there was a bug at one point where export would leave off the last 
packet IIRC, what version of Solr are you using?

Best,
Erick

> On Jun 28, 2019, at 7:11 AM, Kudrettin Güleryüz <kudret...@gmail.com> wrote:
> 
> Hi,
> 
> I'd like to give my website users ability to export a field for the full
> search result set. Specifying a very large pageSize seems to perform very
> poorly for this purpose. Therefore, considering using export requestHandler
> for exporting search results.
> 
> When I play with a core, I noticed that the numFound value was different
> between these two queries for the same core
> export?fl=id&q=*:*&sort=id%20desc
> select?fl=id&q=*:*&sort=id%20desc
> 
> Can you please explain why this may be the case? Also any suggestions on
> alternatives would be nice.
> 
> Thank you

Reply via email to