I'm making a search engine and i am using joins for the search.
this is the query if i search on the keywords "foo" "bar" "test"
as you can see i have to join the search_keywords and search_keyword_reference for every keyword i enter.
This makes it a bit slow.
I have tried this:
where i join the search_keywords and search_keyword_reference only once (as i would expect should be enough) but it doesn't work this way.
It appears that he only searches for the first keyword en for the second and third keyword he searches in the first keyword. So "foo" and "bar" doesn't return anything. But "automobile" and "auto" does.
Has anybody any idea how i can optimize the first code with less joins and make it a bit quicker? thanks
You are not permitted to post messages in this forum or topic, because of one or more of the following reasons:
You have not yet logged in, or registered properly as a member
You are a member, but no longer have posting rights.
This is a private forum, for which you do not have permissions.
If you are a recent member, it's possible that you simply have not yet confirmed your account. Please
check your email for a message entitled 'JimWorld Forums: Confirm Your Account' and follow the instructions
contained within.
If you are still experiencing problem, please read the
Login Assistance
Article for some advice on what may be causing your login not to work properly.