Hi,
This is essentially a search for an arbitrary substring. You can use
n-grams for that.
Otis
Sematext is hiring Search Engineers -- Jobs
On Aug 8, 4:13 pm, Sindre Sorhus sindresor...@gmail.com wrote:
What is the best way to map, analyze and search a field with a phone number?
I have phone numbers in various formats.
+47 23546798
+47 23 54 67 98
+47 235 46 798
+4723546798
23546798I need to be able to search for "23546798" or "2354" and find all the phone
numbers above. What kind of analyzers should I use?Any thought's about ES having a built-in phone number field?