Closed kaykay-dv closed 4 months ago
The .tokens method provides statistics on ALL tokens in the index. This can get considerably slow when the index is large. A top_n parameter should be introduced defaulting to 25 allowing developers to set the number of tokens they want to retrieve.
Added in 0.30.0
The .tokens method provides statistics on ALL tokens in the index. This can get considerably slow when the index is large. A top_n parameter should be introduced defaulting to 25 allowing developers to set the number of tokens they want to retrieve.