I'm trying to setup a person dataset (firstname, l...
# community-help
a
I'm trying to setup a person dataset (firstname, lastname, nickname, ...) in typesense.. would it be best to setup firstname in typesense as a string array containing firstname and nickname? Would this be the easiest way to search for someone? make it easy for the queries Joe Sanders or Joseph Sanders.. or maybe I should just have a name string array, and merge the name together?
k
You could just have an array that contains all the name variations like
[joe, joseph, sanders]
and also structured fields and then query both.
a
that would make it so that it would be responsive to names like "joe joseph" tho.
overly responsive i guess