Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SudachiAnalyzerProvider should not load the SudachiAnalyzer eagerly #165

Closed
nomoa opened this issue Mar 18, 2025 · 1 comment
Closed

SudachiAnalyzerProvider should not load the SudachiAnalyzer eagerly #165

nomoa opened this issue Mar 18, 2025 · 1 comment

Comments

@nomoa
Copy link
Contributor

nomoa commented Mar 18, 2025

SudachiAnalyzerProvider is providing an AnalysisProvider that does load its SudachiAnalyzer and all its resources eagerly.
On setups running many different indices with a wide variety of languages this might not be optimal.

I think that the SudachiAnalyzerProvider should do something similar to the SudachiTokenizerFactory and load its resources lazily.

I attempted to implement this in #164.

@nomoa
Copy link
Contributor Author

nomoa commented Mar 31, 2025

#164 was just merged, closing, thanks!

@nomoa nomoa closed this as completed Mar 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant