     (distinct keywords)))
 
 (def ^:private keyword-string-fields
+  "This defines the set of string condition fields that we will extract keyword terms from. Any condition
+   that's a string condition in this list will be a source of keywords that are used to adjust the
+   score and determine if we're sorting by relevance."
   #{:project
     :platform
     :instrument

    (when (contains? keyword-string-fields field)
      (mapcat extract-keywords-seq-from-value values)))



  cmr.search.models.query.CollectionQueryCondition
  (extract-keywords-seq
    [_]

    [{:keys [conditions]}]
    (mapcat extract-keywords-seq conditions))

  cmr.common_app.services.search.query_model.NestedCondition
  (extract-keywords-seq
    [{:keys [condition]}]
