@foreach


Description:

public virtual void @foreach (string start_term, IndexIterFunc func)

Iterate over an index optionally starting from some given term.

Note that unordered indexes (like HashIndex) has undefined behaviour with this method.

Parameters:

this

The index to iterate over

start_term

The term to start from or null to iterate over all terms

func

Called for each term in the index

userdata

Arbitrary data to pass back to func