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

Replace current search solution #271

Closed
ssddanbrown opened this issue Jan 14, 2017 · 2 comments
Closed

Replace current search solution #271

ssddanbrown opened this issue Jan 14, 2017 · 2 comments

Comments

@ssddanbrown
Copy link
Member

https://github.com/teamtnt/tntsearch
https://github.com/teamtnt/laravel-scout-tntsearch-driver

Advantages

  • Will remove MySQL5.6+ requirement (And thus possibly make it easier to support other DB's in the future).
  • Seems to be simple and fast - Need to investigate
  • Could help to avoid odd issues seen using MySQL fulltext searches (Problem with searching terms with accents #269) and prevent having to resort to 'LIKE' queries - Need to investigate

Issues

  • Need to look how to integrate with permissions system.
  • Will be an extra dependency and will introduce SQLite requirement.
@ssddanbrown
Copy link
Member Author

Looks like integrating TNTsearch will be a lot of hassle when combined with the permissions system. Ideally we'd have something that lives in MySQL so we can easily join permissions as required.

Maybe a simple custom MySQL table? Upon update, break pages down into terms and score on frequency and importance (Dependant on field). Then we can use "LIKE 'abc%' matching at a term level which will still use indexes.

@ssddanbrown ssddanbrown changed the title Update search system to use TNTSearch Replace current search solution Feb 27, 2017
@muramasatheninja
Copy link

Could Sphinx be an option?
http://sphinxsearch.com/

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

No branches or pull requests

2 participants