 (defn- collection-atom-reference->xml-element
   "Converts a collection search result atom reference into an XML element"
   [reference]
-  (let [{:keys [id title short-name version-id summary updated dataset-id collection-data-type
+  (let [{:keys [id score title short-name version-id summary updated dataset-id collection-data-type
                 processing-level-id original-format data-center archive-center start-date end-date
                 atom-links associated-difs online-access-flag browse-flag coordinate-system shapes]} reference]
     (x/element :entry {}

        end-date (when end-date (str/replace (str end-date) #"\+0000" "Z"))
        atom-links (map #(json/decode % true) atom-links)]
    {:id concept-id
     :title entry-title
     :short-name short-name
     :version-id version-id

   "browsable"
   "coordinate-system"
   "ords-info"
   "ords"
   "_score"])

(defmethod elastic-search-index/concept-type+result-format->fields [:granule :atom]
  [concept-type result-format]
