On 4/7/2021 1:10 AM, Shawn Heisey wrote:
I do not remember if Solr 6.1.0 contains the change where we made most field types include docValues by default. I will go diving into the source code to see if I can figure that out. If you check the Schema section in the admin UI, you can see if fields like doc_id have docValues or not. If they don't, you'll want to add it to the schema. Changes like that do require a full reindex.
I started Solr 6.1.0 with the techproducts example, after I had modified the schema to test this theory.
If you want a field to have docValues, you have to explicitly say 'docValues="true"'. Your schema does not have this for the fields or fieldTypes you're using for grouping, which is going to make grouping slower than it could be. As I said before, if you add that to the schema, you will need to completely reindex.
Thanks, Shawn