Apache Lucene.Net 2.4.0 Class Library API

PrefixQuery.GetPrefix Method 

Returns the prefix of this query.

public virtual Term GetPrefix();

See Also

PrefixQuery Class | Lucene.Net.Search Namespace