: Thanks for this. Query time dramatically reduced to 27ms with this. to understand what is going on, use debugQuery=true with each of those examples and look at the query toString info.
*:* is the one and only true syntax (in any solr QParser that i know of) for "find all docs" efficiently. q=* or q=*.* are (if i'm not mistaken) a prefix query and a wildcard query (respectively) against the defualt search field ("*" is a prefix query matching all terms that start with the empty string -- so all terms. which means it should matchany doc that has any term in the default search field -- which in many indexes will be all docs, but is a very inefficient and easily falible way to try and match all docs) -Hoss