public SpanWeight(SpanQuery query, Searcher searcher)
		{
			this.searcher = searcher;
			this.query = query;
			this.terms = query.GetTerms();
		}
Beispiel #2
0
		protected internal override Weight CreateWeight(Searcher searcher)
		{
			return new SpanWeight(this, searcher);
		}
Beispiel #3
0
 protected internal override Weight CreateWeight(Searcher searcher)
 {
     return(new SpanWeight(this, searcher));
 }
Beispiel #4
0
 public AnonymousClassWeight(Monodoc.Lucene.Net.Search.Weight weight, Monodoc.Lucene.Net.Search.Searcher searcher, FilteredQuery enclosingInstance)
 {
     InitBlock(weight, searcher, enclosingInstance);
 }
Beispiel #5
0
 private void  InitBlock(Monodoc.Lucene.Net.Search.Weight weight, Monodoc.Lucene.Net.Search.Searcher searcher, FilteredQuery enclosingInstance)
 {
     this.weight            = weight;
     this.searcher          = searcher;
     this.enclosingInstance = enclosingInstance;
 }
 public SpanWeight(SpanQuery query, Searcher searcher)
 {
     this.searcher = searcher;
     this.query    = query;
     this.terms    = query.GetTerms();
 }