How to use copy_to on a nested field


(Yann Moisan) #1

Is it possible to use copy_to in a nested field :

Here is an extract of my mapping :

day: {
type: nested
properties: {
weight: {
index_name: bzixtz2fng.day.weight
type: double
}
value: {
index_name: bzixtz2fng.day.value
type: string
copy_to: [
raw_words
back
]
}
}
}

Why I don't find my doc when I search on back

{
"query": {
"term": {
"back": "one"
}
}
}

PS : Version 1.0.1

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/b265191b-aa34-4074-9b62-a8f8a205e65d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(system) #2