Lee, It's worth to send a stacktrace for such kind of inquiries. I guess it goes from QueryComponent.mergeIds() or so. Shard response should contains <uniqueKey> from schema.xml field. I encounter something like this while troubleshooting https://lucene.apache.org/solr/guide/6_6/transforming-result-documents.html#TransformingResultDocuments-CoresandCollectionsinSolrCloud
On Mon, Apr 16, 2018 at 6:56 PM, Lee Carroll <lee.a.carr...@googlemail.com> wrote: > I've created a custom response writer which extends RawResponseWriter. The > basic operation is to output a single field value from the top matching doc > as the entire response. This works when shards = 1 but fails when shards > are greater than 1. > > I throw an error if the field in question is missing from the top doc. This > happens when individual shards are being searched and only id and score are > returned. I'm sure I've committed a basic error. > > Lee C > -- Sincerely yours Mikhail Khludnev