Re: SOLRJ: Is there a way to obtain a quick count of total results for a query

2012-05-04 Thread Li Li
hieve this by building a query with start and rows = 0, and using > .getResults().getNumFound(). > > Are there any more efficient approaches to this? > > Thanks > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/SOLRJ-Is-there-a-way-to-obtain-a-

Re: SOLRJ: Is there a way to obtain a quick count of total results for a query

2012-05-04 Thread vybe3142
Fair enough, Thanks. Just wanted to confirm that there wasn't a better way of accomplishing this. -- View this message in context: http://lucene.472066.n3.nabble.com/SOLRJ-Is-there-a-way-to-obtain-a-quick-count-of-total-results-for-a-query-tp3955322p3963295.html Sent from the Solr - User ma

Re: SOLRJ: Is there a way to obtain a quick count of total results for a query

2012-05-03 Thread Erick Erickson
Found(). > > Are there any more efficient approaches to this? > > Thanks > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/SOLRJ-Is-there-a-way-to-obtain-a-quick-count-of-total-results-for-a-query-tp3955322.html > Sent from the Solr - User mailing list archive at Nabble.com.

SOLRJ: Is there a way to obtain a quick count of total results for a query

2012-05-02 Thread vybe3142
I can achieve this by building a query with start and rows = 0, and using .getResults().getNumFound(). Are there any more efficient approaches to this? Thanks -- View this message in context: http://lucene.472066.n3.nabble.com/SOLRJ-Is-there-a-way-to-obtain-a-quick-count-of-total-results-for-a