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

Search #67

Closed
landsman opened this issue Jun 1, 2016 · 6 comments
Closed

Search #67

landsman opened this issue Jun 1, 2016 · 6 comments
Milestone

Comments

@landsman
Copy link

landsman commented Jun 1, 2016

Hi,

if i try search "nette ajax" => 0 results. I don´t know that real name is "nette.ajax".

@f3l1x
Copy link
Member

f3l1x commented Jun 2, 2016

Thanks for reporting. At this time I don't know how to solve it. Maybe later we can use ElasticSearch. Do you have better idea?

@artemevsin
Copy link

artemevsin commented Nov 1, 2016

what about explode search string by words and add each word as OR LIKE '%word%' . I'm not sure about performance, but it can help.
Prestashop does it in similar way (but use pregenerated indexes) https://github.com/PrestaShop/PrestaShop/blob/develop/classes/Search.php#L194-L219

@f3l1x
Copy link
Member

f3l1x commented Nov 1, 2016

@artemevsin Great idea. Could you please test this solution? Especially for nette.ajax for string nette ajax.

@artemevsin
Copy link

Fixed in #81

@f3l1x
Copy link
Member

f3l1x commented Nov 2, 2016

Thank you very much 👍. I test it and probably merge it in few days. :-)

@f3l1x
Copy link
Member

f3l1x commented Nov 4, 2016

Closed via #81

@f3l1x f3l1x closed this as completed Nov 4, 2016
@f3l1x f3l1x added this to the v1.2.0 milestone Apr 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants