I got it:
To add an array of var to an anonymous type add them like this.
var field1 = new {field=Name^20};
var field2 = new {field = _all};
var field3 = new {field = Id^20};
var myfields = new [] {field1,field2};
This is slick now it puts the
I was able to get this to work in ES using head and got back what i needed.
However translating to ElasticSearch.net has been an issue.
I have an anonymous type doing a match all query and this works fine and
dandy.
I am trying to do the multi_match as above but it isn't returning any
You could use a boosting query
http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-boosting-query.html,
or you could use a multi-match query
http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-multi-match-query.html
and
add a boost directly to the