You cannot set an index-time boost: norms are omitted

On Mon, 2012-07-16 at 11:57 -0700, Vinicius Carvalho wrote:

Hi there! when combining the index boost in a float field I get
exceptions at the console.

Please gist a curl recreation of what you are doing

thanks

clint

The field mapping is as follows:

"elevation" : {"type" : "float", "store":"yes" , "include_in_all" :
"false", "boost": 3.0},

my idea was to index a property named elevation (to kinda mimic the
elevation component on Solr, but way simpler). So every document would
have a default value of 1.0

If a certain document is required to have a boost we can adjust it to
a higher value (say 1.5) and that doc would get a higher score.

I wonder if the problem here is the fact that initially all docs would
have the same elevation value.

I know at least another couple of fields I'll need to do the same
(like popularity, as all docs will begin with a default popularity of
1,0 and it will increase/decrease as metrics are updated)

Regards