Question about boost field


(Ivan Brusic) #1

I modified a mapping to specify which field to use for a document boost:

"_boost" : {"name" : "BoostValue", "null_value" : 1.0}

The field is also defined in the mapping:

"BoostValue" : {"type":"float"}

The boost seems to be correctly applied and appears in the document,
but does not appear in the mapping. Is this situation correct?

Cheers,

Ivan


(Shay Banon) #2

You mean when you do get mapping, you don't see it? It should be there (if
its not there, it means that it won't be applied...), can you create a
simple repro to show it if thats the case?

On Thu, May 17, 2012 at 2:03 AM, Ivan Brusic ivan@brusic.com wrote:

I modified a mapping to specify which field to use for a document boost:

"_boost" : {"name" : "BoostValue", "null_value" : 1.0}

The field is also defined in the mapping:

"BoostValue" : {"type":"float"}

The boost seems to be correctly applied and appears in the document,
but does not appear in the mapping. Is this situation correct?

Cheers,

Ivan


(system) #3