Hello elasticUs, I want to know which is the best route to index a text that contains codes (for example 1/56DTH) and other normal text but without losing benefits of analyzed text.
For example I want index the text:
"Every night I need to restart my robots 1/56DTH"
If I use an standard english analyzer (/_analyze?analyzer=english)
everi, night, i, need, restart, my, robot, 1, 56dth
My target is get something like:
everi, night, i, need, restart, my, robot, 1/56dth
I think the key is create a new analyzer with a Pattern Tokenizer capable to detect 1/56DTH like a term. what do you think? I go in the correct way?