Apache Lucene.Net 2.4.0 Class Library API

SpanQuery.GetTerms Method 

Returns a collection of all terms matched by this query.

public abstract ICollection GetTerms();

See Also

SpanQuery Class | Lucene.Net.Search.Spans Namespace | Query#ExtractTerms