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

Multi table search in zombo #741

Open
bhalonen opened this issue May 3, 2022 · 5 comments
Open

Multi table search in zombo #741

bhalonen opened this issue May 3, 2022 · 5 comments

Comments

@bhalonen
Copy link
Contributor

bhalonen commented May 3, 2022

Zombo used to support multi table search #70

How would you recommend going about doing something similar in the current version?

Thanks.

@eeeebbbbrrrr
Copy link
Collaborator

That's a thing that never got ported forward from that very old version.

I can take a look at adding it, or something similar, in my spare time. In all the years ZDB has been around I've never heard of anyone actually wanting to do this.

@bhalonen
Copy link
Contributor Author

right now we have an acceptable solution of running ~20 seperate queries on an sql pool.

@skreborn
Copy link

@eeeebbbbrrrr Our use case is pretty simple; there are many kinds of entities we manage, all of them having very different properties with little overlap, but all of them need to be searchable from a central location.

Right now, all of the common properties are merged into one big table and managed automatically by triggers, but it's a fragile construct, I'm afraid. One trigger missed in the schema somewhere down the line, and suddenly we're not finding relevant results.

If you happen to have an alternative route in mind we could take, I'd be more than happy to try.

@eeeebbbbrrrr
Copy link
Collaborator

@skreborn I feel like your comment is talking about something different than what @bhalonen mentioned (issue #70 no longer being a thing).

Sounds like maybe you want to read up on cross index joins.

@BlakeB415
Copy link

This is definitely something I'm needing at the moment. Is there a way to directly do this with a raw ES query in the meantime?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants