Skip to content

Commit

Permalink
Better approach to fixing TermStats.TermText to fix one failing unit …
Browse files Browse the repository at this point in the history
…test.
  • Loading branch information
rclabo committed Sep 25, 2024
1 parent e34e5c9 commit f33a557
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Lucene.Net.Misc/Misc/TermStats.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ namespace Lucene.Net.Misc
/// </summary>
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; }
Expand Down

0 comments on commit f33a557

Please sign in to comment.