I am using multi_field to combine several properties for searching instead
of using _all
It looks like boost specified in my secondary fields are ignored. It worked
fine with _all but not with multifield
here is the snippet where I put very low boost for my all field (I feed
dozens of properties into it with different boosts) but it has no effect
"type": {
"dynamic": "true",
"properties": {
"id": {
"type": "integer",
"include_in_all": false
},
"name": {
"type": "multi_field",
"path": "just_name",
"fields": {
"name": {
"type": "string",
"index_options": "offsets",
"boost": 0.3
},
"all": {
"type": "string",
"index_options": "offsets",
"boost": 0.01
},
"all_stem": {
"type": "string",
"index_options": "offsets",
"boost": 0.01
}
}
}
}
}
--
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.
For more options, visit https://groups.google.com/groups/opt_out.