Apache Lucene.Net 2.4.0 Class Library API

SpanQuery.GetPayloadSpans Method 

Returns the matches for this query in an index, including access to any payloads at thos positions. Implementin classes that want access to the payloads will need to implement this.

WARNING: The status of the Payloads feature is experimental. The APIs introduced here might change in the future and will not be supported anymore in such a cse.

public virtual PayloadSpans GetPayloadSpans(
   IndexReader reader
);

Parameters

reader
the reader to use to access spans/payloads

Return Value

null

See Also

SpanQuery Class | Lucene.Net.Search.Spans Namespace