public void Join(LuceneBitArray other) { LuceneBitArray image; image = new LuceneBitArray(other.searcher); this.ProjectOnto(image); other.Or(image); // We only need to project back items in the other // bit array that are not in the image of the // first projection. image.Not(); image.And(other); image.ProjectOnto(this); }
public void Join (LuceneBitArray other) { LuceneBitArray image; image = new LuceneBitArray (other.searcher); this.ProjectOnto (image); other.Or (image); // We only need to project back items in the other // bit array that are not in the image of the // first projection. image.Not (); image.And (other); image.ProjectOnto (this); }