RE: [EXTERNAL] - Re: accessing numfound value

2017-07-13 Thread Steve Pruitt
a SolrDocumentList. It has a getNumFound() method. But rb.getResponseDocs() is null. Thanks. -S -Original Message- From: Susheel Kumar [mailto:susheel2...@gmail.com] Sent: Thursday, July 13, 2017 6:47 AM To: solr-user@lucene.apache.org Subject: [EXTERNAL] - Re: accessing numfound value

RE: [EXTERNAL] - Re: accessing numfound value

2017-07-13 Thread Steve Pruitt
Subject: [EXTERNAL] - Re: accessing numfound value Steve, This is a wild guess because you are not telling us nearly enough. The guess: you are not getting any matches or hits. O. Cheers --Rick On July 12, 2017 4:29:43 PM EDT, Steve Pruitt <bpru...@opentext.com> wrote: >I'm having difficult

Re: accessing numfound value

2017-07-13 Thread Susheel Kumar
You get back QueryResponse after executing a query. Then you can simply use below to get qTime, ElapsedTime and numFound. response.getQTime(), response.getElapsedTime() response.getResults().getNumFound() Thanks, Susheel On Wed, Jul 12, 2017 at 4:29 PM, Steve Pruitt

Re: accessing numfound value

2017-07-13 Thread Rick Leir
Steve, This is a wild guess because you are not telling us nearly enough. The guess: you are not getting any matches or hits. O. Cheers --Rick On July 12, 2017 4:29:43 PM EDT, Steve Pruitt wrote: >I'm having difficulty finding the value for numFound that is in the

accessing numfound value

2017-07-12 Thread Steve Pruitt
I'm having difficulty finding the value for numFound that is in the response. My context is a custom component in the last-components list for /select. Where rb is the ResponseBuilder parameter for the process(..) method: rb.getNumberDocumentsFound() is 0. rb.totalHitCount is 0. I don't