lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [01/12] lucenenet git commit: Lucene.Net.Join: Member accessibility
Date Thu, 26 Jan 2017 14:37:59 GMT
Repository: lucenenet
Updated Branches:
  refs/heads/api-work 8174a11cc -> 4025eb26d


Lucene.Net.Join: Member accessibility


Project: http://git-wip-us.apache.org/repos/asf/lucenenet/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucenenet/commit/1d0bf148
Tree: http://git-wip-us.apache.org/repos/asf/lucenenet/tree/1d0bf148
Diff: http://git-wip-us.apache.org/repos/asf/lucenenet/diff/1d0bf148

Branch: refs/heads/api-work
Commit: 1d0bf148368b56d0cba308304c389130fc42d710
Parents: 8174a11
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Thu Jan 26 19:31:24 2017 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Thu Jan 26 19:31:24 2017 +0700

----------------------------------------------------------------------
 src/Lucene.Net.Join/FakeScorer.cs               | 27 ++++++++++----------
 .../FixedBitSetCachingWrapperFilter.cs          |  3 ++-
 src/Lucene.Net.Join/Properties/AssemblyInfo.cs  |  3 +++
 src/Lucene.Net.Join/TermsCollector.cs           | 18 ++++---------
 src/Lucene.Net.Join/TermsIncludingScoreQuery.cs |  9 ++++---
 src/Lucene.Net.Join/TermsQuery.cs               | 14 +++++-----
 src/Lucene.Net.Join/TermsWithScoreCollector.cs  | 24 ++++++++---------
 src/Lucene.Net.Join/ToChildBlockJoinQuery.cs    | 13 +++++++---
 .../ToParentBlockJoinCollector.cs               | 14 ----------
 src/Lucene.Net.Join/ToParentBlockJoinQuery.cs   | 24 +++++++++--------
 .../ToParentBlockJoinSortField.cs               |  9 ++++---
 11 files changed, 77 insertions(+), 81 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/1d0bf148/src/Lucene.Net.Join/FakeScorer.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Join/FakeScorer.cs b/src/Lucene.Net.Join/FakeScorer.cs
index ca7fc28..a8babcd 100644
--- a/src/Lucene.Net.Join/FakeScorer.cs
+++ b/src/Lucene.Net.Join/FakeScorer.cs
@@ -29,38 +29,39 @@ namespace Lucene.Net.Join
         internal float _score;
         internal int doc = -1;
 
-        public FakeScorer() : base(null)
+        public FakeScorer() 
+            : base(null)
         {
         }
 
-        public override int DocID
+        public override int Advance(int target)
         {
-            get { return doc; }
+            throw new NotSupportedException("FakeScorer doesn't support Advance(int)");
         }
 
-        public override int NextDoc()
+        public override int DocID
         {
-            throw new NotSupportedException("FakeScorer doesn't support NextDoc()");
+            get { return doc; }
         }
 
-        public override int Advance(int target)
+        public override int Freq
         {
-            throw new NotSupportedException("FakeScorer doesn't support Advance(int)");
+            get { throw new NotSupportedException("FakeScorer doesn't support Freq"); }
         }
 
-        public override long GetCost()
+        public override int NextDoc()
         {
-            return 1;
+            throw new NotSupportedException("FakeScorer doesn't support NextDoc()");
         }
 
-        public override int Freq
+        public override float GetScore()
         {
-            get { throw new NotSupportedException("FakeScorer doesn't support Freq()"); }
+            return _score;
         }
 
-        public override float GetScore()
+        public override long GetCost()
         {
-            return _score;
+            return 1;
         }
 
         public override Weight Weight

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/1d0bf148/src/Lucene.Net.Join/FixedBitSetCachingWrapperFilter.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Join/FixedBitSetCachingWrapperFilter.cs b/src/Lucene.Net.Join/FixedBitSetCachingWrapperFilter.cs
index da8b0b8..95bc6a2 100644
--- a/src/Lucene.Net.Join/FixedBitSetCachingWrapperFilter.cs
+++ b/src/Lucene.Net.Join/FixedBitSetCachingWrapperFilter.cs
@@ -30,7 +30,8 @@ namespace Lucene.Net.Join
         /// <summary>
         /// Sole constructor, see <see cref="CachingWrapperFilter"/>.
         /// </summary>
-        public FixedBitSetCachingWrapperFilter(Filter filter) : base(filter)
+        public FixedBitSetCachingWrapperFilter(Filter filter) 
+            : base(filter)
         {
         }
 

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/1d0bf148/src/Lucene.Net.Join/Properties/AssemblyInfo.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Join/Properties/AssemblyInfo.cs b/src/Lucene.Net.Join/Properties/AssemblyInfo.cs
index d73af7e..8b7bdf9 100644
--- a/src/Lucene.Net.Join/Properties/AssemblyInfo.cs
+++ b/src/Lucene.Net.Join/Properties/AssemblyInfo.cs
@@ -23,6 +23,9 @@ using System.Runtime.InteropServices;
 // The following GUID is for the ID of the typelib if this project is exposed to COM
 [assembly: Guid("e8a339c7-fcf6-4a72-8586-56d8961d7b99")]
 
+// for testing
+[assembly: InternalsVisibleTo("Lucene.Net.Tests.Join")]
+
 // Version information for an assembly consists of the following four values:
 //
 //      Major Version

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/1d0bf148/src/Lucene.Net.Join/TermsCollector.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Join/TermsCollector.cs b/src/Lucene.Net.Join/TermsCollector.cs
index 26c8950..8549465 100644
--- a/src/Lucene.Net.Join/TermsCollector.cs
+++ b/src/Lucene.Net.Join/TermsCollector.cs
@@ -36,7 +36,7 @@ namespace Lucene.Net.Join
             _field = field;
         }
 
-        public BytesRefHash CollectorTerms
+        public virtual BytesRefHash CollectorTerms
         {
             get
             {
@@ -99,7 +99,8 @@ namespace Lucene.Net.Join
             private readonly BytesRef _scratch = new BytesRef();
             private SortedSetDocValues _docTermOrds;
 
-            internal MV(string field) : base(field)
+            internal MV(string field) 
+                : base(field)
             {
             }
             
@@ -118,11 +119,6 @@ namespace Lucene.Net.Join
             {
                 _docTermOrds = FieldCache.DEFAULT.GetDocTermOrds(context.AtomicReader, _field);
             }
-
-            public override bool AcceptsDocsOutOfOrder
-            {
-                get { return true; }
-            }
         }
 
         // impl that works with single value per document
@@ -131,7 +127,8 @@ namespace Lucene.Net.Join
             private readonly BytesRef _spare = new BytesRef();
             private BinaryDocValues _fromDocTerms;
 
-            internal SV(string field) : base(field)
+            internal SV(string field) 
+                : base(field)
             {
             }
             
@@ -145,11 +142,6 @@ namespace Lucene.Net.Join
             {
                 _fromDocTerms = FieldCache.DEFAULT.GetTerms(context.AtomicReader, _field,
false);
             }
-
-            public override bool AcceptsDocsOutOfOrder
-            {
-                get { return base.AcceptsDocsOutOfOrder; }
-            }
         }
     }
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/1d0bf148/src/Lucene.Net.Join/TermsIncludingScoreQuery.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Join/TermsIncludingScoreQuery.cs b/src/Lucene.Net.Join/TermsIncludingScoreQuery.cs
index 708dc91..dd6ce55 100644
--- a/src/Lucene.Net.Join/TermsIncludingScoreQuery.cs
+++ b/src/Lucene.Net.Join/TermsIncludingScoreQuery.cs
@@ -81,6 +81,7 @@ namespace Lucene.Net.Join
             return this;
         }
 
+        // LUCENENET TODO: Possible BUG - this Equals implementation probably doesn't match
Java
         protected bool Equals(TermsIncludingScoreQuery other)
         {
             return base.Equals(other) && string.Equals(_field, other._field) &&
@@ -289,7 +290,7 @@ namespace Lucene.Net.Join
                 return DocsEnum.NextDoc();
             }
             
-            internal Explanation Explain(int target)
+            internal Explanation Explain(int target) // LUCENENET NOTE: changed accessibility
from private to internal
             {
                 int docId;
                 do
@@ -327,7 +328,8 @@ namespace Lucene.Net.Join
             internal readonly FixedBitSet alreadyEmittedDocs;
 
             internal MVInnerScorer(TermsIncludingScoreQuery outerInstance, Weight weight,
IBits acceptDocs,
-                TermsEnum termsEnum, int maxDoc, long cost) : base(outerInstance, weight,
acceptDocs, termsEnum, cost)
+                TermsEnum termsEnum, int maxDoc, long cost) 
+                : base(outerInstance, weight, acceptDocs, termsEnum, cost)
             {
                 this.outerInstance = outerInstance;
                 alreadyEmittedDocs = new FixedBitSet(maxDoc);
@@ -362,7 +364,8 @@ namespace Lucene.Net.Join
             internal int currentDoc = -1;
             
             internal SVInOrderScorer(TermsIncludingScoreQuery outerInstance, Weight weight,
IBits acceptDocs,
-                TermsEnum termsEnum, int maxDoc, long cost) : base(weight)
+                TermsEnum termsEnum, int maxDoc, long cost) 
+                : base(weight)
             {
                 this.outerInstance = outerInstance;
                 FixedBitSet matchingDocs = new FixedBitSet(maxDoc);

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/1d0bf148/src/Lucene.Net.Join/TermsQuery.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Join/TermsQuery.cs b/src/Lucene.Net.Join/TermsQuery.cs
index 010ce4a..e3a066c 100644
--- a/src/Lucene.Net.Join/TermsQuery.cs
+++ b/src/Lucene.Net.Join/TermsQuery.cs
@@ -40,7 +40,8 @@ namespace Lucene.Net.Join
         /// <param name="field">The field that should contain terms that are specified
in the previous parameter.</param>
         /// <param name="fromQuery"></param>
         /// <param name="terms">The terms that matching documents should have. The
terms must be sorted by natural order.</param>
-        internal TermsQuery(string field, Query fromQuery, BytesRefHash terms) : base(field)
+        internal TermsQuery(string field, Query fromQuery, BytesRefHash terms) 
+            : base(field)
         {
             _fromQuery = fromQuery;
             _terms = terms;
@@ -63,6 +64,8 @@ namespace Lucene.Net.Join
             return string.Format("TermsQuery{{field={0}}}", field);
         }
 
+        // LUCENENET TODO: Add GetHashCode() from Lucene
+
         private class SeekingTermSetTermsEnum : FilteredTermsEnum
         {
             private readonly BytesRefHash Terms;
@@ -76,18 +79,17 @@ namespace Lucene.Net.Join
             private BytesRef _seekTerm;
             private int _upto;
 
-            internal SeekingTermSetTermsEnum(TermsEnum tenum, BytesRefHash terms, int[] ords)
: base(tenum)
+            internal SeekingTermSetTermsEnum(TermsEnum tenum, BytesRefHash terms, int[] ords)

+                : base(tenum)
             {
-                Terms = terms;
-                Ords = ords;
+                this.Terms = terms;
+                this.Ords = ords;
                 _comparer = BytesRef.UTF8SortedAsUnicodeComparer;
                 _lastElement = terms.Count - 1;
                 _lastTerm = terms.Get(ords[_lastElement], new BytesRef());
                 _seekTerm = terms.Get(ords[_upto], _spare);
             }
 
-
-            
             protected override BytesRef NextSeekTerm(BytesRef currentTerm)
             {
                 BytesRef temp = _seekTerm;

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/1d0bf148/src/Lucene.Net.Join/TermsWithScoreCollector.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Join/TermsWithScoreCollector.cs b/src/Lucene.Net.Join/TermsWithScoreCollector.cs
index f8489dd..81e8bdd 100644
--- a/src/Lucene.Net.Join/TermsWithScoreCollector.cs
+++ b/src/Lucene.Net.Join/TermsWithScoreCollector.cs
@@ -26,7 +26,7 @@ namespace Lucene.Net.Join
 
     internal abstract class TermsWithScoreCollector : ICollector
     {
-        private const int InitialArraySize = 256;
+        private const int InitialArraySize = 256; // LUCENENET TODO: Rename back to INITIAL_ARRAY_SIZE
 
         private readonly string _field;
         private readonly BytesRefHash _collectedTerms = new BytesRefHash();
@@ -125,12 +125,13 @@ namespace Lucene.Net.Join
         }
 
         // impl that works with single value per document
-        internal class Sv : TermsWithScoreCollector
+        internal class Sv : TermsWithScoreCollector // LUCENENET TODO: Rename back to SV
         {
             private readonly BytesRef _spare = new BytesRef();
             private BinaryDocValues _fromDocTerms;
 
-            internal Sv(string field, ScoreMode scoreMode) : base(field, scoreMode)
+            internal Sv(string field, ScoreMode scoreMode) 
+                : base(field, scoreMode)
             {
             }
             
@@ -178,16 +179,12 @@ namespace Lucene.Net.Join
                 _fromDocTerms = FieldCache.DEFAULT.GetTerms(context.AtomicReader, _field,
false);
             }
 
-            public override bool AcceptsDocsOutOfOrder
-            {
-                get { return base.AcceptsDocsOutOfOrder; }
-            }
-
             internal class Avg : Sv
             {
                 private int[] _scoreCounts = new int[InitialArraySize];
 
-                internal Avg(string field) : base(field, ScoreMode.Avg)
+                internal Avg(string field) 
+                    : base(field, ScoreMode.Avg)
                 {
                 }
                 
@@ -241,12 +238,13 @@ namespace Lucene.Net.Join
         }
 
         // impl that works with multiple values per document
-        internal class Mv : TermsWithScoreCollector
+        internal class Mv : TermsWithScoreCollector // LUCENENET TODO: Rename MV
         {
             private SortedSetDocValues _fromDocTermOrds;
             private readonly BytesRef _scratch = new BytesRef();
 
-            internal Mv(string field, ScoreMode scoreMode) : base(field, scoreMode)
+            internal Mv(string field, ScoreMode scoreMode) 
+                : base(field, scoreMode)
             {
             }
             
@@ -292,7 +290,8 @@ namespace Lucene.Net.Join
             {
                 private int[] _scoreCounts = new int[InitialArraySize];
 
-                internal Avg(string field) : base(field, ScoreMode.Avg)
+                internal Avg(string field) 
+                    : base(field, ScoreMode.Avg)
                 {
                 }
                 
@@ -340,6 +339,5 @@ namespace Lucene.Net.Join
                 }
             }
         }
-
     }
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/1d0bf148/src/Lucene.Net.Join/ToChildBlockJoinQuery.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Join/ToChildBlockJoinQuery.cs b/src/Lucene.Net.Join/ToChildBlockJoinQuery.cs
index f313ed1..b80784d 100644
--- a/src/Lucene.Net.Join/ToChildBlockJoinQuery.cs
+++ b/src/Lucene.Net.Join/ToChildBlockJoinQuery.cs
@@ -38,7 +38,7 @@ namespace Lucene.Net.Join
         /// Message thrown from <see cref="ToChildBlockJoinScorer.ValidateParentDoc"/>
         /// on mis-use, when the parent query incorrectly returns child docs. 
         /// </summary>
-        public const string InvalidQueryMessage = "Parent query yields document which is
not matched by parents filter, docID=";
+        internal const string InvalidQueryMessage = "Parent query yields document which is
not matched by parents filter, docID="; // LUCENENET TODO: Rename INVALID_QUERY_MESSAGE
 
         private readonly Filter _parentsFilter;
         private readonly Query _parentQuery;
@@ -59,6 +59,7 @@ namespace Lucene.Net.Join
         /// identifying the parent documents.</param>
         /// <param name="doScores">True if parent scores should be calculated.</param>
         public ToChildBlockJoinQuery(Query parentQuery, Filter parentsFilter, bool doScores)
+            : base()
         {
             _origParentQuery = parentQuery;
             _parentQuery = parentQuery;
@@ -66,7 +67,8 @@ namespace Lucene.Net.Join
             _doScores = doScores;
         }
 
-        private ToChildBlockJoinQuery(Query origParentQuery, Query parentQuery, Filter parentsFilter,
bool doScores) : base()
+        private ToChildBlockJoinQuery(Query origParentQuery, Query parentQuery, Filter parentsFilter,
bool doScores) 
+            : base()
         {
             _origParentQuery = origParentQuery;
             _parentQuery = parentQuery;
@@ -86,7 +88,8 @@ namespace Lucene.Net.Join
             private readonly Filter _parentsFilter;
             private readonly bool _doScores;
 
-            public ToChildBlockJoinWeight(Query joinQuery, Weight parentWeight, Filter parentsFilter,
bool doScores) : base()
+            public ToChildBlockJoinWeight(Query joinQuery, Weight parentWeight, Filter parentsFilter,
bool doScores) 
+                : base()
             {
                 _joinQuery = joinQuery;
                 _parentWeight = parentWeight;
@@ -165,7 +168,8 @@ namespace Lucene.Net.Join
             private int _childDoc = -1;
             private int _parentDoc;
 
-            public ToChildBlockJoinScorer(Weight weight, Scorer parentScorer, FixedBitSet
parentBits, bool doScores, IBits acceptDocs) : base(weight)
+            public ToChildBlockJoinScorer(Weight weight, Scorer parentScorer, FixedBitSet
parentBits, bool doScores, IBits acceptDocs) 
+                : base(weight)
             {
                 _doScores = doScores;
                 _parentBits = parentBits;
@@ -360,6 +364,7 @@ namespace Lucene.Net.Join
             return "ToChildBlockJoinQuery (" + _parentQuery + ")";
         }
 
+        // LUCENENET TODO: Possible BUG - This equals implementation probably doesn't match
Lucene
         protected bool Equals(ToChildBlockJoinQuery other)
         {
             return base.Equals(other) && 

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/1d0bf148/src/Lucene.Net.Join/ToParentBlockJoinCollector.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Join/ToParentBlockJoinCollector.cs b/src/Lucene.Net.Join/ToParentBlockJoinCollector.cs
index 46a0e54..2051057 100644
--- a/src/Lucene.Net.Join/ToParentBlockJoinCollector.cs
+++ b/src/Lucene.Net.Join/ToParentBlockJoinCollector.cs
@@ -353,20 +353,6 @@ namespace Lucene.Net.Join
             var queue2 = new ConcurrentQueue<Scorer>();
             //System.out.println("\nqueue: add top scorer=" + value);
             queue2.Enqueue(scorer);
-//                while ((queue.Count > 0 && (queue.Dequeue()) != null))
-//                {
-//                    //System.out.println("  poll: " + value + "; " + value.getWeight().getQuery());
-//                    if (value is ToParentBlockJoinQuery.BlockJoinScorer)
-//                    {
-//                        Enroll((ToParentBlockJoinQuery)value.Weight.Query, (ToParentBlockJoinQuery.BlockJoinScorer)value);
-//                    }
-//
-//                    foreach (Scorer.ChildScorer sub in value.Children)
-//                    {
-//                        //System.out.println("  add sub: " + sub.child + "; " + sub.child.getWeight().getQuery());
-//                        queue.Enqueue(sub.Child);
-//                    }
-//                }
 
             while (queue2.TryDequeue(out scorer))
             {

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/1d0bf148/src/Lucene.Net.Join/ToParentBlockJoinQuery.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Join/ToParentBlockJoinQuery.cs b/src/Lucene.Net.Join/ToParentBlockJoinQuery.cs
index 14b3a28..5eb46e7 100644
--- a/src/Lucene.Net.Join/ToParentBlockJoinQuery.cs
+++ b/src/Lucene.Net.Join/ToParentBlockJoinQuery.cs
@@ -91,6 +91,7 @@ namespace Lucene.Net.Join
         /// into a single parent score.
         ///  </param>
         public ToParentBlockJoinQuery(Query childQuery, Filter parentsFilter, ScoreMode scoreMode)
+            : base()
         {
             _origChildQuery = childQuery;
             _childQuery = childQuery;
@@ -98,7 +99,8 @@ namespace Lucene.Net.Join
             _scoreMode = scoreMode;
         }
 
-        private ToParentBlockJoinQuery(Query origChildQuery, Query childQuery, Filter parentsFilter,
ScoreMode scoreMode) : base()
+        private ToParentBlockJoinQuery(Query origChildQuery, Query childQuery, Filter parentsFilter,
ScoreMode scoreMode) 
+            : base()
         {
             _origChildQuery = origChildQuery;
             _childQuery = childQuery;
@@ -113,17 +115,18 @@ namespace Lucene.Net.Join
 
         private class BlockJoinWeight : Weight
         {
-            internal readonly Query JoinQuery;
-            internal readonly Weight ChildWeight;
-            internal readonly Filter ParentsFilter;
-            internal readonly ScoreMode ScoreMode;
+            private readonly Query JoinQuery;
+            private readonly Weight ChildWeight;
+            private readonly Filter ParentsFilter;
+            private readonly ScoreMode ScoreMode;
 
-            public BlockJoinWeight(Query joinQuery, Weight childWeight, Filter parentsFilter,
ScoreMode scoreMode) : base()
+            public BlockJoinWeight(Query joinQuery, Weight childWeight, Filter parentsFilter,
ScoreMode scoreMode) 
+                : base()
             {
-                JoinQuery = joinQuery;
-                ChildWeight = childWeight;
-                ParentsFilter = parentsFilter;
-                ScoreMode = scoreMode;
+                this.JoinQuery = joinQuery;
+                this.ChildWeight = childWeight;
+                this.ParentsFilter = parentsFilter;
+                this.ScoreMode = scoreMode;
             }
 
             public override Query Query
@@ -483,6 +486,7 @@ namespace Lucene.Net.Join
             return "ToParentBlockJoinQuery (" + _childQuery + ")";
         }
 
+        // LUCENENET TODO: Possible BUG - this implemenation probably doesn't match Lucene
         protected bool Equals(ToParentBlockJoinQuery other)
         {
             return base.Equals(other) && 

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/1d0bf148/src/Lucene.Net.Join/ToParentBlockJoinSortField.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Join/ToParentBlockJoinSortField.cs b/src/Lucene.Net.Join/ToParentBlockJoinSortField.cs
index e002008..ffd6779 100644
--- a/src/Lucene.Net.Join/ToParentBlockJoinSortField.cs
+++ b/src/Lucene.Net.Join/ToParentBlockJoinSortField.cs
@@ -40,11 +40,12 @@ namespace Lucene.Net.Join
         /// <param name="reverse"> Whether natural order should be reversed on the
nested / child level. </param>
         /// <param name="parentFilter"> Filter that identifies the parent documents.
</param>
         /// <param name="childFilter"> Filter that defines which child documents participates
in sorting. </param>
-        public ToParentBlockJoinSortField(string field, SortFieldType type, bool reverse,
Filter parentFilter, Filter childFilter) : base(field, type, reverse)
+        public ToParentBlockJoinSortField(string field, SortFieldType type, bool reverse,
Filter parentFilter, Filter childFilter) 
+            : base(field, type, reverse)
         {
-            Order = reverse;
-            ParentFilter = parentFilter;
-            ChildFilter = childFilter;
+            this.Order = reverse;
+            this.ParentFilter = parentFilter;
+            this.ChildFilter = childFilter;
         }
 
         /// <summary>


Mime
View raw message