예제 #1
0
        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);
        }
예제 #2
0
		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);
		}