diff --git a/src/MGRAST/lib/resources/annotation.pm b/src/MGRAST/lib/resources/annotation.pm index bf0c80c4..10fdf02c 100644 --- a/src/MGRAST/lib/resources/annotation.pm +++ b/src/MGRAST/lib/resources/annotation.pm @@ -345,6 +345,9 @@ sub print_batch { $fields = [$solr_key, 'md5_id']; } } elsif ($type eq 'feature') { + $solr_key = 'accession'; + $fields = [$solr_key, 'md5_id']; + } else { $fields = ['md5_id']; }