Completion type mapping

Hi mates,

I am trying to create mapping in my auto completion scenario.

As shown below, I am using "copy_to" command in order to copy a field value
into a completion type which name is "factContent_suggest".

The problem I have encountered is that I cannot update weight property by
using "factContent_suggest.weight".
When I delete this statement, all suggestions come with default weight 1.0.

Thanks for your cooperation.


"fact" : {
"properties" : {
"factContent" : {"type" : "string","copy_to" :
"ranking" : {"type" : "long","copy_to":
"factContent_suggest" : {"type" : "completion","payloads" : true



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
To view this discussion on the web visit
For more options, visit