Element includeElem=DOMUtils.getChildByTagOrFail(e,"Include");
includeElem=DOMUtils.getFirstChildOrFail(includeElem);
Element excludeElem=DOMUtils.getChildByTagOrFail(e,"Exclude");
excludeElem=DOMUtils.getFirstChildOrFail(excludeElem);
SpanQuery include=factory.getSpanQuery(includeElem);
SpanQuery exclude=factory.getSpanQuery(excludeElem);
SpanNotQuery snq = new SpanNotQuery(include,exclude);
snq.setBoost(DOMUtils.getAttribute(e,"boost",1.0f));
return snq;