Do you want to modify Solr source code? Did you check that line at XMLWriter.java :
*writeAttr("numFound",Long.toString(numFound));* 2013/7/12 Matt Lieber <mlie...@impetus.com> > 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. >