Hello, we're having some issues with a Solr query and are unsure if we've encountered a bug or just don't understand the expected behaviour. Any help would be appreciated.
The problem is this: we're running a query using the browser that for debugging purposes looks like this: q={!sort%3D"eventId%20asc"}a&rows=2 here eventId is a long field in our schema. The sort works fine, but the query returns 10 results (out of 35), clearly ignoring the rows parameter. For reference, q=a&rows=2 only returns 2 results (again out of 35). We can go around this by introducing rows as a local parameter instead: q={!sort%3D"eventId%20asc"+rows%3D2}a this only returns 2 results, as expected. So, it seems that using sort as a local parameter causes solr to ignore the external rows parameter. This does not seem to be true for any local parameters, only "sort" (as far as we can tell). Why is this happening? -- View this message in context: http://lucene.472066.n3.nabble.com/sort-in-local-params-and-rows-parameter-tp3986615.html Sent from the Solr - User mailing list archive at Nabble.com.