Typesense (and most search engines) only support p...
# community-help
j
Typesense (and most search engines) only support prefix queries. So
+1
,
+15
,
+1555
, etc will return
<tel:+15553337895|+15553337895>
, but searching for a sub-string that is not the start of the string like
7895
(non-prefix) will not return that record. If you need to match sub-strings, I'd recommend breaking out the phone number into space separated sub-sections like
<tel:15553337895|1 555 333 7895>
or an array like CaptainCodeman mentions above. Or if you just need to search for last 4 digits, you could put just that in a separate field.