-
Notifications
You must be signed in to change notification settings - Fork 47
Redis Modules Identification missing for "searchlight" version of search module #226
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
Comments
We already have the constant for it: DEFAULT_REQUIRED_MODULES = [
{"name": "search", "ver": 20600},
{"name": "searchlight", "ver": 20600},
] There are two call to validate_modules(installed_modules, [{"name": "search", "ver": 20810}]) My concern is the version number in the defaults being Potentially I simple fix would be to have a way to do an OR in, e.g. passing a flag (bool): def validate_modules(
installed_modules: Dict[str, Any],
required_modules: Optional[List[Dict[str, Any]]] = None,
) -> None: or, introduce an alias like: DEFAULT_REQUIRED_MODULES = [
{"name": "search", "alias": "searchlight", "ver": 20600},
] assuming that it is safe to equate "search" and "searchlight" |
Following up on this thread -- the simple solution is to provide the additional |
Fixes issue: #226 related to the search module version checks. Also introduces a clean exception module for adding RedisVL specific exceptions.
Fixed here --> #227 |
I'm seeing the following issue It's Mac M1 Pro. I'm on the latest package 0.3.4 ERROR - app.services.events.event_manager.EventManager: Unexpected error in __event_listener: Required Redis db module search >= 20600 OR searchlight >= 20600 not installed. See Redis Stack docs at https://redis.io/docs/latest/operate/oss_and_stack/install/install-stack/. |
When we do a check for capabilities we should also check for the module named "searchlight" which is present instead of "search" in certain deployments

The text was updated successfully, but these errors were encountered: