Index architecture


So I'm trying to build an index, and I'm struggling with the approach to follow.
I have an entity "person" with some related information. That person can have multiple name, like name variations, etc. Something like:

person: {
  id: '1234'
  names: [{name: 'foobar'}, name: 'foobaz']

When querying the index, I want to know which name matches the query, based on score.
Is this a denormalization approach scenario? And if so, I would I do this?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.