Re: Why does Solr sort on _docid_ with rows=0 ?

2020-03-05 Thread S G
Thanks Hoss. Yes, that jira seems like a good one to fix. And the variable name definitely does not explain why it will not cause any sort operation. -SG On Mon, Mar 2, 2020 at 10:06 AM Chris Hostetter wrote: > : docid is the natural order of the posting lists, so there is no sorting > effort.

Re: Why does Solr sort on _docid_ with rows=0 ?

2020-03-02 Thread Chris Hostetter
: docid is the natural order of the posting lists, so there is no sorting effort. : I expect that means “don’t sort”. basically yes, as documented in the comment right above hte lines of code linked to. : > So no one knows this then? : > It seems like a good opportunity to get some

Re: Why does Solr sort on _docid_ with rows=0 ?

2020-02-28 Thread Walter Underwood
docid is the natural order of the posting lists, so there is no sorting effort. I expect that means “don’t sort”. Also, cross-posting is probably not good. I’m replying only to solr-user. wunder Walter Underwood wun...@wunderwood.org http://observer.wunderwood.org/ (my blog) > On Feb 28, 2020,

Re: Why does Solr sort on _docid_ with rows=0 ?

2020-02-28 Thread S G
So no one knows this then? It seems like a good opportunity to get some performance! On Tue, Feb 25, 2020 at 2:01 PM S G wrote: > Hi, > > I see a lot of such queries in my Solr 7.6.0 logs: > > > *path=/select > params={q=*:*=false=_docid_+asc=0=javabin=2} > hits=287128180 status=0 QTime=7173* >

Why does Solr sort on _docid_ with rows=0 ?

2020-02-25 Thread S G
Hi, I see a lot of such queries in my Solr 7.6.0 logs: *path=/select params={q=*:*=false=_docid_+asc=0=javabin=2} hits=287128180 status=0 QTime=7173* On some searching, this is the code seems to fire the above: