/// <summary>Returns true iff <code>o</code> is equal to this. </summary>
        public override bool Equals(System.Object o)
        {
            if (!(o is BooleanQuery))
            {
                return(false);
            }
            BooleanQuery other = (BooleanQuery)o;

            return((this.GetBoost() == other.GetBoost()) && this.clauses.Equals(other.clauses));
        }