text: public override SpanQuery GetSpanQuery(XmlElement e){string fieldName = DOMUtils.GetAttributeWithInheritanceOrFail(e, "fieldName");string value = DOMUtils.GetNonBlankTextOrFail(e);List<SpanQuery> clausesList = new List<SpanQuery>();TokenStream ts = null;try{ts = analyzer.GetTokenStream(fieldName, value);ITermToBytesRefAttribute termAtt = ts.AddAttribute<ITermToBytesRefAttribute>();BytesRef bytes = termAtt.BytesRef;ts.Reset();while (ts.IncrementToken()){termAtt.FillBytesRef();SpanTermQuery stq = new SpanTermQuery(new Term(fieldName, BytesRef.DeepCopyOf(bytes)));clausesList.Add(stq);}ts.End();SpanOrQuery soq = new SpanOrQuery(clausesList.ToArray());soq.Boost = DOMUtils.GetAttribute(e, "boost", 1.0f);return soq;}catch (IOException ioe){throw new ParserException("IOException parsing value:" + value);}finally{IOUtils.DisposeWhileHandlingException(ts);}}