Exemplo n.º 1
0
 public FieldCacheTermsFilterDocIdSet(FieldCacheTermsFilter enclosingInstance, Mono.Lucene.Net.Search.StringIndex fcsi)
 {
     InitBlock(enclosingInstance);
     this.fcsi  = fcsi;
     openBitSet = new OpenBitSet(this.fcsi.lookup.Length);
     for (int i = 0; i < Enclosing_Instance.terms.Length; i++)
     {
         int termNumber = this.fcsi.BinarySearchLookup(Enclosing_Instance.terms[i]);
         if (termNumber > 0)
         {
             openBitSet.FastSet(termNumber);
         }
     }
 }
Exemplo n.º 2
0
			public FieldCacheTermsFilterDocIdSet(FieldCacheTermsFilter enclosingInstance, Mono.Lucene.Net.Search.StringIndex fcsi)
			{
				InitBlock(enclosingInstance);
				this.fcsi = fcsi;
				openBitSet = new OpenBitSet(this.fcsi.lookup.Length);
				for (int i = 0; i < Enclosing_Instance.terms.Length; i++)
				{
					int termNumber = this.fcsi.BinarySearchLookup(Enclosing_Instance.terms[i]);
					if (termNumber > 0)
					{
						openBitSet.FastSet(termNumber);
					}
				}
			}
Exemplo n.º 3
0
 private void  InitBlock(FieldCacheTermsFilter enclosingInstance)
 {
     this.enclosingInstance = enclosingInstance;
 }
Exemplo n.º 4
0
			private void  InitBlock(FieldCacheTermsFilter enclosingInstance)
			{
				this.enclosingInstance = enclosingInstance;
			}