Hello, Vincenzo. I traced both code pathes, they are different. It's hard to predict the difference between them. Probably some thorough microbenchmark can show two times fold or so, but don't think it's significant for practical usage.
On Thu, Sep 19, 2019 at 10:23 AM Vincenzo D'Amore <v.dam...@gmail.com> wrote: > Hi all, > > talking about how to write solr queries I was investigating if there is a > difference of performance in these two filter queries: field:[* TO *] or > field:* > > In other words: > > q=*:*&fq=field:[* TO *]&rows=0 > > q=*:*&fq=field:*&rows=0 > > Could someone enlighten me? > > -- > Vincenzo D'Amore > -- Sincerely yours Mikhail Khludnev