Re: Single query to get the count for all individual collections

2019-01-22 Thread Jan Høydahl
+1 for the most elegant solution so far :) -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 22. jan. 2019 kl. 03:15 skrev Joel Bernstein : > > Streaming Expressions can do this: > > plist(stats(collection1, q="*:*", count(*)), >stats(collection2, q="*:*", cou

Re: Single query to get the count for all individual collections

2019-01-21 Thread Joel Bernstein
Streaming Expressions can do this: plist(stats(collection1, q="*:*", count(*)), stats(collection2, q="*:*", count(*)), stats(collection2, q="*:*", count(*))) The plist function is a parallel list of expressions. It will spin each expression off in it's own thread and concatenate t

Re: Single query to get the count for all individual collections

2019-01-21 Thread Jens Brandt
Hi, maybe adding &shards.info=true might help. In case of SolrCloud this gives you numFound for each shard. Regards, Jens > Am 10.01.2019 um 04:40 schrieb Zheng Lin Edwin Yeo : > > Hi, > > I would like to find out, is there any way that I can send a single query > to retrieve the numFound f

Re: Single query to get the count for all individual collections

2019-01-11 Thread Zheng Lin Edwin Yeo
den 10 januari 2019 10:41 > Till: solr-user@lucene.apache.org > Ämne: Single query to get the count for all individual collections > > Hi, > > I would like to find out, is there any way that I can send a single query > to retrieve the numFound for all the individual collections?

SV: Single query to get the count for all individual collections

2019-01-10 Thread Hullegård , Jimi
januari 2019 10:41 Till: solr-user@lucene.apache.org Ämne: Single query to get the count for all individual collections Hi, I would like to find out, is there any way that I can send a single query to retrieve the numFound for all the individual collections? I have tried with this query http

Re: Single query to get the count for all individual collections

2019-01-10 Thread Jan Høydahl
Just to a series of cheap http://localhost:8983/solr/mycoll/select?q=*:*&rows=0 requests :) -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 10. jan. 2019 kl. 04:40 skrev Zheng Lin Edwin Yeo : > > Hi, > > I would like to find out, is there any way that I can send a

Single query to get the count for all individual collections

2019-01-09 Thread Zheng Lin Edwin Yeo
Hi, I would like to find out, is there any way that I can send a single query to retrieve the numFound for all the individual collections? I have tried with this query http://localhost:8983/solr/collection1/select?q=*:*&collection=collection1,collection2 However, this query is doing the sum of al