I've noticed this too, but I think it's more a side effect than something usable for the reasons you outlined. Searching a docValues field is akin to a "table scan", the uninverted structure is totally unsuited for searching. It works, but as you've found out it's unusably slow for any decent sized corpus. Whether it should throw some kind of error or not is worth discussing.
Erick On Mon, Nov 19, 2018 at 7:20 PM Rahul Goswami <rahul196...@gmail.com> wrote: > > I am using SolrCloud 7.2.1. My understanding is that setting docvalues=true > would optimize faceting, grouping and sorting; but for a field to be > searchable it needs to be indexed=true. However I was dumbfounded today > when I executed a successful search on a field with below configuration: > <field name="myField" type="pint" indexed="false" stored="false" > docValues="true"/> > However the searches don't always complete and often time out. > > My question is... > Is searching on docValues=true and indexed=false fields supported? If yes, > in which cases? > What are the pitfalls (as I see that searches, although sometimes > successful are atrociously slow and quite often time out)?