Beispiel #1
0
 public override System.Collections.ICollection GetTerms()
 {
     System.Collections.ArrayList   terms = new System.Collections.ArrayList();
     System.Collections.IEnumerator i     = clauses.GetEnumerator();
     while (i.MoveNext())
     {
         SpanQuery clause = (SpanQuery)i.Current;
         terms.AddRange(clause.GetTerms());
     }
     return(terms);
 }
 public override System.Collections.ICollection GetTerms()
 {
     System.Collections.ArrayList terms = new System.Collections.ArrayList();
     System.Collections.IEnumerator i = clauses.GetEnumerator();
     while (i.MoveNext())
     {
     SpanQuery clause = (SpanQuery) i.Current;
     //{{}}// _SupportClass.ICollectionSupport.AddAll(terms, clause.GetTerms()); // {{Aroush}}
     terms.AddRange(clause.GetTerms());
     }
     return terms;
 }
Beispiel #3
0
 public override System.Collections.ICollection GetTerms()
 {
     return(match.GetTerms());
 }
		public SpanWeight(SpanQuery query, Searcher searcher)
		{
			this.searcher = searcher;
			this.query = query;
			this.terms = query.GetTerms();
		}
Beispiel #5
0
 public override System.Collections.ICollection GetTerms()
 {
     return(include.GetTerms());
 }
 public SpanWeight(SpanQuery query, Searcher searcher)
 {
     this.searcher = searcher;
     this.query    = query;
     this.terms    = query.GetTerms();
 }