public SimpleQueryStringQueryDescriptor <T> OnFieldsWithBoost(Action <FluentDictionary <string, double?> > boostableSelector)
        {
            var d = new FluentDictionary <string, double?>();

            boostableSelector(d);
            ((ISimpleQueryStringQuery)this).Fields = d.Select(o => PropertyPathMarker.Create(o.Key, o.Value));
            return(this);
        }
        public MultiMatchQueryDescriptor <T> OnFieldsWithBoost(Action <FluentDictionary <Expression <Func <T, object> >, double?> > boostableSelector)
        {
            var d = new FluentDictionary <Expression <Func <T, object> >, double?>();

            boostableSelector(d);
            ((IMultiMatchQuery)this).Fields = d.Select(o => PropertyPathMarker.Create(o.Key, o.Value));
            return(this);
        }