Shot in the dark , is your id your uniqueKey ? In the case, it is legit to parse the special matchAllDocsQuery as that field is mandatory and unique. So your high-level query is actually asking for all the documents in the index.
I haven't checked in the code but if I remember well, that is a special query specifically to fetch all the documents. Different implementation from the normal wildcard queries. What is your concern Matteo? Cheers On Thu, Jul 28, 2016 at 8:40 AM, Matteo Grolla <matteo.gro...@gmail.com> wrote: > I noticed the behaviour in solr 4.10 and 5.4.1 > > 2016-07-28 9:36 GMT+02:00 Matteo Grolla <matteo.gro...@gmail.com>: > > > Hi, > > I'm surprised by lucene query parser translating this query > > > > http://localhost:8983/solr/collection1/select?df=id&q=* > > > > in > > > > <str name="parsedquery">MatchAllDocsQuery(*:*)</str> > > > > I was expecting it to execute: "id:*" > > is it a bug or a desired behaviour? If desired can you explain why? > > > -- -------------------------- Benedetti Alessandro Visiting card : http://about.me/alessandro_benedetti "Tyger, tyger burning bright In the forests of the night, What immortal hand or eye Could frame thy fearful symmetry?" William Blake - Songs of Experience -1794 England