@foreach
Description:
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 |
func |
Called for each term in the index |
userdata |
Arbitrary data to pass back to |