Hmmm. One way is: http://localhost:8983/solr/core/select/?q=*%3A*&facet=true&facet.field=id&facet.offset=10&rows=0&facet.limit=1<http://hgsolr2devmstr:8983/solr/providersearch/select/?q=*%3A*&facet=true&facet.field=city&facet.offset=10&rows=0&facet.limit=1>
If you have a result you have results > 10. Another way is to just look at it wth a facet.query and have your app deal with it. http:/localhost:8983/solr/core/select/?q=*%3A*&facet=true&facet.query={!lucene%20key=numberofresults}state:CO&rows=0<http://hgsolr2devmstr:8983/solr/providersearch/select/?q=*%3A*&facet=true&facet.query={!lucene%20key=numberofresults}state:CO&rows=0> On Thu, Jul 11, 2013 at 11:45 PM, Matt Lieber <mlie...@impetus.com> wrote: > Hello there, > > I would like to be able to know whether I got over a certain threshold of > doc results. > > I.e. Test (Result.numFound > 10 ) -> true. > > Is there a way to do this ? I can't seem to find how to do this; (other > than have to do this test on the client app, which is not great). > > Thanks, > Matt > > > ________________________________ > > > > > > > NOTE: This message may contain information that is confidential, > proprietary, privileged or otherwise protected by law. The message is > intended solely for the named addressee. If received in error, please > destroy and notify the sender. Any use of this email is prohibited when > received in error. Impetus does not represent, warrant and/or guarantee, > that the integrity of this communication has been maintained nor that the > communication is free of errors, virus, interception or interference. > -- Bill Bell billnb...@gmail.com cell 720-256-8076