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 authored and paulirwin committed Oct 22, 2024
1 parent 5f837c1 commit dba4877
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 dba4877

Please sign in to comment.