This is an automated email from the ASF dual-hosted git repository.

nightowl888 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucenenet.git

commit 74a574f8f8606960dbdcddcd2ec2582c7de82787
Author: Shad Storhaug <[email protected]>
AuthorDate: Tue Oct 19 05:30:26 2021 +0700

    BREAKING: Lucene.Net.Search.DisjunctionMaxQuery: Changed protected 
m_weights field from List<Weight> to IList<Weight>
---
 src/Lucene.Net/Search/DisjunctionMaxQuery.cs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/Lucene.Net/Search/DisjunctionMaxQuery.cs 
b/src/Lucene.Net/Search/DisjunctionMaxQuery.cs
index be1c56a..e8fa330 100644
--- a/src/Lucene.Net/Search/DisjunctionMaxQuery.cs
+++ b/src/Lucene.Net/Search/DisjunctionMaxQuery.cs
@@ -1,4 +1,4 @@
-using J2N.Collections.Generic.Extensions;
+using J2N.Collections.Generic.Extensions;
 using Lucene.Net.Util;
 using System;
 using System.Collections;
@@ -137,7 +137,7 @@ namespace Lucene.Net.Search
 
             /// <summary>
             /// The <see cref="Weight"/>s for our subqueries, in 1-1 
correspondence with disjuncts </summary>
-            protected List<Weight> m_weights = new List<Weight>(); // The 
Weight's for our subqueries, in 1-1 correspondence with disjuncts
+            protected IList<Weight> m_weights = new List<Weight>(); // The 
Weight's for our subqueries, in 1-1 correspondence with disjuncts
 
             /// <summary>
             /// Construct the <see cref="Weight"/> for this <see 
cref="Search.Query"/> searched by <paramref name="searcher"/>.  Recursively 
construct subquery weights. </summary>

Reply via email to