Inheritance: Lucene.Net.Util.LuceneTestCase
Ejemplo n.º 1
0
            internal DumbRegexpQuery(TestRegexpRandom2 outerInstance, Term term, int flags)
                : base(term.Field())
            {
                this.OuterInstance = outerInstance;
                RegExp re = new RegExp(term.Text(), flags);

                Automaton = re.ToAutomaton();
            }
Ejemplo n.º 2
0
                internal SimpleAutomatonTermsEnum(TestRegexpRandom2.DumbRegexpQuery outerInstance, TermsEnum tenum)
                    : base(tenum)
                {
                    this.OuterInstance = outerInstance;

                    if (!InstanceFieldsInitialized)
                    {
                        InitializeInstanceFields();
                        InstanceFieldsInitialized = true;
                    }
                    InitialSeekTerm = new BytesRef("");
                }
Ejemplo n.º 3
0
 internal DumbRegexpQuery(TestRegexpRandom2 outerInstance, Term term, int flags)
     : base(term.Field())
 {
     this.OuterInstance = outerInstance;
     RegExp re = new RegExp(term.Text(), flags);
     Automaton = re.ToAutomaton();
 }