Beispiel #1
0
 private void InitBlock(Lucene.Net.Index.IndexReader reader, SpanOrQuery enclosingInstance)
 {
     this.reader = reader;
     this.enclosingInstance = enclosingInstance;
     all = new System.Collections.ArrayList(Enclosing_Instance.clauses.Count);
     queue = new SpanQueue(enclosingInstance, Enclosing_Instance.clauses.Count);
     System.Collections.IEnumerator i = Enclosing_Instance.clauses.GetEnumerator();
     while (i.MoveNext())
     {
         // initialize all
         all.Add(((SpanQuery) i.Current).GetSpans(reader));
     }
 }
Beispiel #2
0
 private void InitBlock(Lucene.Net.Index.IndexReader reader, SpanNotQuery enclosingInstance)
 {
     this.reader = reader;
     this.enclosingInstance = enclosingInstance;
     includeSpans = Enclosing_Instance.include.GetSpans(reader);
     excludeSpans = Enclosing_Instance.exclude.GetSpans(reader);
     moreExclude = excludeSpans.Next();
 }
 private void InitBlock(Lucene.Net.Index.IndexReader reader, SpanTermQuery enclosingInstance)
 {
     this.reader = reader;
     this.enclosingInstance = enclosingInstance;
     positions = reader.TermPositions(Enclosing_Instance.term);
 }
 private void InitBlock(Lucene.Net.Index.IndexReader reader, SpanFirstQuery enclosingInstance)
 {
     this.reader = reader;
     this.enclosingInstance = enclosingInstance;
     spans = Enclosing_Instance.match.GetPayloadSpans(reader);
 }
 private void InitBlock(Lucene.Net.Index.IndexReader reader, SpanOrQuery enclosingInstance)
 {
     this.reader = reader;
     this.enclosingInstance = enclosingInstance;
 }
Beispiel #6
0
 private void  InitBlock(Lucene.Net.Index.IndexReader reader, SpanFirstQuery enclosingInstance)
 {
     this.reader            = reader;
     this.enclosingInstance = enclosingInstance;
     spans = Enclosing_Instance.match.GetSpans(reader);
 }
Beispiel #7
0
 private void InitBlock(Lucene.Net.Search.Weight weight, Lucene.Net.Index.IndexReader reader, QueryWrapperFilter enclosingInstance)
 {
     this.weight = weight;
     this.reader = reader;
     this.enclosingInstance = enclosingInstance;
 }
Beispiel #8
0
 public AnonymousClassSpans(Lucene.Net.Index.IndexReader reader, SpanFirstQuery enclosingInstance)
 {
     InitBlock(reader, enclosingInstance);
 }
 private void  InitBlock(Lucene.Net.Search.Weight weight, Lucene.Net.Index.IndexReader reader, QueryWrapperFilter enclosingInstance)
 {
     this.weight            = weight;
     this.reader            = reader;
     this.enclosingInstance = enclosingInstance;
 }
 public AnonymousClassDocIdSet(Lucene.Net.Search.Weight weight, Lucene.Net.Index.IndexReader reader, QueryWrapperFilter enclosingInstance)
 {
     InitBlock(weight, reader, enclosingInstance);
 }
 internal AnonymousClassFieldCacheDocIdSet(Lucene.Net.Search.StringIndex fcsi, int inclusiveLowerPoint, int inclusiveUpperPoint, AnonymousClassFieldCacheRangeFilter enclosingInstance, Lucene.Net.Index.IndexReader Param1, bool Param2) : base(Param1, Param2)
 {
     InitBlock(fcsi, inclusiveLowerPoint, inclusiveUpperPoint, enclosingInstance);
 }
 internal AnonymousClassFieldCacheDocIdSet(double[] values, double inclusiveLowerPoint, double inclusiveUpperPoint, AnonymousClassFieldCacheRangeFilter6 enclosingInstance, Lucene.Net.Index.IndexReader Param1, bool Param2) : base(Param1, Param2)
 {
     InitBlock(values, inclusiveLowerPoint, inclusiveUpperPoint, enclosingInstance);
 }