Ejemplo n.º 1
0
            internal long ord; // force "real" seek

            public OrdWrappedTermsEnum(DocTermOrds outerInstance, AtomicReader reader)
            {
                this.outerInstance = outerInstance;

                InitializeInstanceFields();
                Debug.Assert(outerInstance.m_indexedTermsArray != null);
                termsEnum = reader.Fields.GetTerms(outerInstance.m_field).GetIterator(null);
            }
Ejemplo n.º 2
0
            internal long ord; // force "real" seek

            public OrdWrappedTermsEnum(DocTermOrds outerInstance, AtomicReader reader)
            {
                this.outerInstance = outerInstance;

                ord = -outerInstance.indexInterval - 1;
                if (Debugging.AssertsEnabled)
                {
                    Debugging.Assert(outerInstance.m_indexedTermsArray != null);
                }
                termsEnum = reader.Fields.GetTerms(outerInstance.m_field).GetEnumerator();
            }
Ejemplo n.º 3
0
 internal Iterator(DocTermOrds outerInstance, AtomicReader reader)
 {
     this.outerInstance = outerInstance;
     this.reader        = reader;
     this.te            = GetTermsEnum();
 }