Re: How to set a condition on the number of docs found

2013-07-12 Thread Matt Lieber
Thanks William, I'll do that. Matt On 7/12/13 7:38 AM, "William Bell" wrote: >Hmmm. One way is: > >http://localhost:8983/solr/core/select/?q=*%3A*&facet=true&facet.field=id&; >facet.offset=10&rows=0&facet.limit=1dersearch/select/?q=*%3A*&facet=true&facet

Re: How to set a condition on the number of docs found

2013-07-12 Thread Jack Krupansky
Test where? I mean, "numFound" is right there at the top of the query results, right? Unfortunately there is no function query value source equivalent to "numFound". There is "numdocs", but that is the total documents in the index. There is also docfreq(term), which could be used in a function

Re: How to set a condition on the number of docs found

2013-07-12 Thread William Bell
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 If you have a result you have results >

Re: How to set a condition on the number of docs found

2013-07-12 Thread Furkan KAMACI
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 > Hello there, > > I would like to be able to know whether I got over a certain threshold of > doc results. > > I.e. Test (Result.numFoun