   []
   (let [groups (map #(string/split % #" ") synonym-list)
         syns (map (fn [[main & others]] (map #(string/join #"," [main %]) others)) groups)]
-    (flatten syns)))
+    (vec (flatten syns))))
 
 ;; (synonyms)
 
 (def ecommerce-mapping-types
   (let [;; analyzers
-        ;; snowball {:type "string" :analyzer "snowball" :store true}
-        ;; snowball {:type "string" :analyzer "snowball" :index_options "offsets" :store true}
-        ;; snowball {:type "string" :analyzer "snowball"}
         snowball {:type "string" :analyzer "synonym-snowball"}
         part-num {:type "string" :analyzer "part-num-analyzer"}
-        ;; part-num {:type "string"}
         string {:type "string"}
         integer {:type "integer"}
         long {:type "long"}
         ignore-int {:type "integer" :include_in_all false}
         path {:type "string" :analyzer "path-analyzer"}
-        ;; path {:type "string" :index "not_analyzed"}
-        ;; path {:type "string"}
         date {:type "date", :format "strict_date_optional_time||epoch_millis"}
         upc {:type "string" :analyzer "upc-analyzer"}
 

        :snowball-filter {:type "snowball"
                          :language "English"}
        :synonym-filter {:type "synonym"
                         :synonyms
                         ;; ["romex,nm"]
                         ["romex,nm" "so,seoow" "so,seow" "so,soow" "so,sow" "pipe,conduit" "gfi,gfci" "bx,mc"]
                         ;;(synonyms)
                         }
        }

       :tokenizer

               :manufacturer-name snowball
               :product-class snowball
               :matnr {:type "string"}

               :manufacturer-part-number part-num
               :summit-part-number part-num
