         :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)
-                         }
+                         :synonyms (synonyms)}
         }
 
        :tokenizer

               :manufacturer-id ignore-int
               })}}
       }))

;; (do
;;   (esi/delete haystack.repo/repo "testing")
;;   (esi/create haystack.repo/repo "testing" ecommerce-mapping-types)
;;   ;; curl '192.168.0.220:9201/testing/_analyze?pretty=1&analyzer=part-num-analyzer' -d 'FC;(!- %^/&>a@<,:#''}{`_~][+|="$\?,c]'})
;;   ;;   => should return only one ngram
;;   )


(defn bulk-create-all
  "adds all docs in one shot"

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

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