Match across multiple nested documents

(Mortenhauberg) #1


I have this mapping, and a document that looks like this

How would i go about searching for "Inge-Lise Rosenberg", or maybe just "Inge-Lise Rose"?

(Mortenhauberg) #2

I ended up using "copy_to" and then copy all values into a searchable field.
It seems to work

(Adrien Grand) #3

Indeed copy_to is the right way to do this.

(Mortenhauberg) #4

Great, I was not sure it was the correct approach. Thanks :slight_smile:

(system) #5