/// <exception cref="System.IO.IOException"></exception>
 public VisitorTemplate(AbstractVisitingPrefixTreeFilter _enclosing, AtomicReaderContext
                        context, IBits acceptDocs,
                        bool hasIndexedLeaves)
     : base(_enclosing, context, acceptDocs)
 {
     this._enclosing = _enclosing;
     //if false then we can skip looking for them
     //current pointer, derived from query shape
     //curVNode.cell's term.
     //the result of termsEnum.term()
     this.hasIndexedLeaves = hasIndexedLeaves;
 }
Beispiel #2
0
            private BytesRef thisTerm; //the result of termsEnum.term()

            public VisitorTemplate(AbstractVisitingPrefixTreeFilter outerInstance, AtomicReaderContext context, IBits acceptDocs,
                                   bool hasIndexedLeaves)
                : base(outerInstance, context, acceptDocs)
            {
                this.m_hasIndexedLeaves = hasIndexedLeaves;
            }
            private BytesRef thisTerm; //the result of termsEnum.term()

            protected VisitorTemplate(AbstractVisitingPrefixTreeFilter outerInstance, AtomicReaderContext context, IBits acceptDocs,
                                      bool hasIndexedLeaves) // LUCENENET: CA1012: Abstract types should not have constructors (marked protected)
                : base(outerInstance, context, acceptDocs)
            {
                this.m_hasIndexedLeaves = hasIndexedLeaves;
            }