Comments (2)
AFAIS this can be done in three ways:
- Simple SQL queries: „SELECT * FROM * WHERE a LIKE…“
- Using FULLTEXT indexes of MariaDB
- This means for our version that database engine have to be MyISAM (instead of the currently used InnoDB). Then MariaDB makes all the work. There are some amazing features – be sure to check https://mariadb.com/kb/en/mariadb/fulltext-index-overview. Using this in Laravel should be straight forward – read http://creative-punch.net/2013/12/implementing-laravel-4-full-text-search.
- IMHO this is the way we should go…
- Use an external search engine like elasticsearch, solr, etc
- This is the fastest option with very interesting features like facets – and it is highly scalable as you can outsource that engine in a cloud. Check http://www.fullstackstanley.com/read/simple-search-with-laravel-and-elasticsearch
- But: man has to install that engine, configure it and implement the bindings to laravel – much more to do compared to variant 2)
- We should remember this if our system has to manage 10 million customers
by @xee8ai
from nmsprime.
There are some problems with using the fulltext index for searching:
- no left truncation
- MAC and IP addresses are (default) not part of the index
So in the first step we implemented simple search (first option above) which is ATM fast enough. Complexity is O( n ) – this should be fast enough for the next time…
by @xee8aifrom nmsprime.
Related Issues (20)
- Extend index tables
- Cleanup (envia) Blades
- Cleanup Controllers
- Improve generic form field generation (BaseViewController)
- extend SLA table towards online shop
- Small Adds for v2.6 HOT 2
- Small fixes v2.5.x HOT 2
- Ticket System requirements for ERZNET
- Creation of easy delivery notes HOT 1
- Strange behavior of “+” when creating PhonenumberManagement
- Add infos to customer control center
- missing pictures of modems HOT 7
- Implement ticket relations as polymorphic one-to-many HOT 1
- Installation Dependency error HOT 2
- Support for North American DOCSIS Standard
- Integration wirh other DHCP and CRM HOT 1
- SepaMandate status changed from FRST to RCUR when settlementrun was repeated
- Instalation error mongodb-server HOT 2
- Installation steps in README.md fail HOT 1
- MTA provisioning issue causing one way audio problem HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nmsprime.