Hi all,
For complicated reasons, that i wont go into, I'm inserting my data into Solr using Document<string,object> objects. This means I am able to add boost per item using AddWithBoost and KeyValuePair<Dictionary<string,object>,float>
The missing part of this puzzle is when someone wants to boost at a field level .. normally this is done via an attribute [SolrField("field", Boost = 20)] .. obviously I dont have this :/
The only possibilities I can think of getting round this are:
1) To add something into the AddParameters that contains a map of (DocumentUniqueId,FieldName,Boost) and this just applies it as part of the add ?
2) Could I change my Document<string,object> into a Dictionary<string,SolrFieldModel> and would it get processed the same ?
3) Is it down to writing my own mapping manager ?
Any guidance is always appreciated :)
Regards
Stephen / mRg