diff --git a/src/Lucene.Net.Misc/Misc/TermStats.cs b/src/Lucene.Net.Misc/Misc/TermStats.cs index f057ba89e9..7ac5fbc918 100644 --- a/src/Lucene.Net.Misc/Misc/TermStats.cs +++ b/src/Lucene.Net.Misc/Misc/TermStats.cs @@ -25,7 +25,7 @@ namespace Lucene.Net.Misc /// public sealed class TermStats { - public readonly BytesRef TermText; + public BytesRef TermText { get; private set; } public string Field { get; set; } public int DocFreq { get; set; } public long TotalTermFreq { get; set; }