HogsTooth@lemmy.worldtoProgrammer Humor@lemmy.ml•Sometimes you really need that vodka shot when things go wrong in the database
12·
9 months agoElasticSearch would make me drink if I drank
ElasticSearch would make me drink if I drank
I wish more people knew about dtrx (Do The Right eXtraction).
My most recent complaint is about index mappings. I have 2 types in 2 different indexes that each have a field with the same name. One index has a hand written mapping. The other index is currently under active development and doesn’t have a mapping for it yet so it’s built automatically. When I insert into the index WITHOUT a mapping, the index WITH a mapping changes the field into a keyword and no further queries against the index WITH a mapping work. This also happens if I insert into the index WITHOUT a mapping before the other index is created. Why does the index WITH a mapping change?!? WE WROTE THE MAPPING FOR A REASON BUT ITS IGNORED!?!