<commit_before>﻿using System.Collections.Generic;
using System.Runtime.Serialization;

namespace Nest
{
	public class HitsMetadata<T> where T : class
	{
		[DataMember(Name ="hits")]
		public IReadOnlyCollection<IHit<T>> Hits { get; internal set; } = EmptyReadOnly<IHit<T>>.Collection;

		[DataMember(Name ="max_score")]
		public double MaxScore { get; internal set; }

		[DataMember(Name ="total")]
		public HitsTotal Total { get; internal set; }
	}
}
<commit_msg>MaxScore should be nullable double<commit_after>﻿using System.Collections.Generic;
using System.Runtime.Serialization;

namespace Nest
{
	public class HitsMetadata<T> where T : class
	{
		[DataMember(Name ="hits")]
		public IReadOnlyCollection<IHit<T>> Hits { get; internal set; } = EmptyReadOnly<IHit<T>>.Collection;

		[DataMember(Name ="max_score")]
		public double? MaxScore { get; internal set; }

		[DataMember(Name ="total")]
		public HitsTotal Total { get; internal set; }
	}
}

{'fraction_non_alphanumeric': 0.12947368421052632, 'fraction_numerical': 0.0, 'mean_word_length': 5.382550335570469, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3423313', 'n_tokens_mistral': 326, 'n_tokens_neox': 311, 'n_words': 78}