Thanks @val, but I prefer my filter since it allow to the exception of this rule: "+ => 00".
But still, when I run this:
PUT /phone/doc/1
{
"phone_number": "0777 , 1.436;25 "
}
I manage to index something unanalyzed even thought the field is mapped with the correct analyzer.
And when I run this:
POST /phone/_analyze
{
"analyzer":"one",
"text": "0777 , 1.436;25 "
}
It return an analyzed answer but it's not indexed.
I'm sorry to continue to bother you.