Good point! I tried that, on solr5 the query time is around 100-110ms, and on solr4 it is around 60-63ms(very consistent). Solr5 is slower.
Thanks, Wei On Fri, Nov 6, 2015 at 6:46 PM, Yonik Seeley <ysee...@gmail.com> wrote: > On Fri, Nov 6, 2015 at 9:30 PM, wei <sw90...@gmail.com> wrote: > > in solr 5.3.1, there is actually a boost, and the score is product of > boost > > & queryNorm. > > Hmmm, well, it's worth putting on the list of stuff to investigate. > Boosting was also changed in lucene. > > What happens if you try this multiple times in a row? > > &rows=2&fl=id&q={!cache=false}*:*&fq=categoryIdsPath:1001 > > (basically just add {!cache=false} as a prefix to the main query.) > > This would allow hotspot time to compile methods, and ensure that the > filter query was cached, and do a better job of isolating the > "filtered match-all-docs" part of the execution. > > -Yonik >