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

[FR] Official support for InnoDB #273

Open
madchap opened this issue Jul 15, 2020 · 3 comments
Open

[FR] Official support for InnoDB #273

madchap opened this issue Jul 15, 2020 · 3 comments

Comments

@madchap
Copy link

madchap commented Jul 15, 2020

Hi,

So this is more like a feature request time of issue.

I know there's been a couple (closed) issues, yet supporting InnoDB looks like a natural and needed move for Django-watson if it is to continue being useful for many people.

@etianen
Copy link
Owner

etianen commented Jul 15, 2020

I agree. Unfortunately, I don't have the time to implement it myself. I would happily review a MR.

@tari
Copy link

tari commented Jul 1, 2024

I've been using Watson with InnoDB on MariaDB for a while, just by manually changing the engine on the watson_searchentry table to be InnoDB. My application doesn't push it very hard so it's possible there are some features that wouldn't work, but it seems to behave correctly.

There is one issue I've found that's more like a database bug, though. MySQL documentation says that @ isn't supported at all by InnoDB fulltext search IN BOOLEAN MODE (and MariaDB seems to inherit this behavior, but doesn't document it):

InnoDB full-text search does not support the use of the @ symbol in boolean full-text searches. The @ symbol is reserved for use by the @distance proximity search operator.

The consequence of doing so is a very confusing syntax error (like https://stackoverflow.com/q/25088183/2658436), and https://bugs.mysql.com/bug.php?id=74042 basically says the developers don't care about enabling searches for @. Ole Martin's workaround of replacing @ with seems like the best you can do on InnoDB, so official InnoDB support in Watson would probably want to do that at the least.

@etianen
Copy link
Owner

etianen commented Jul 29, 2024

You sound like an excellent person to formulate a PR! ❤️

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

3 participants